#include <Texture2D.h>
Public Member Functions | |
Texture2D () | |
virtual | ~Texture2D () |
virtual RGBAColor | getColor (const Point2D &p) const =0 |
virtual Vec3D | getBump (const Point2D &p, const float &scale, const Matrix4D &onb) const =0 |
Definition at line 10 of file Texture2D.h.
rcrt::Texture2D::Texture2D | ( | ) |
Definition at line 6 of file Texture2D.cpp.
rcrt::Texture2D::~Texture2D | ( | ) | [virtual] |
Definition at line 10 of file Texture2D.cpp.
Implemented in rcrt::ImageTexture, and rcrt::WaterTexture.
virtual Vec3D rcrt::Texture2D::getBump | ( | const Point2D & | p, | |
const float & | scale, | |||
const Matrix4D & | onb | |||
) | const [pure virtual] |
Implemented in rcrt::ImageTexture, and rcrt::WaterTexture.
Referenced by rcrt::Material::getShadingNormal().