#include <constant.h>
Public Member Functions | |
ConstantTexture (const T &v) | |
T | Evaluate (const DifferentialGeometry &) const |
Private Attributes | |
T | value |
Definition at line 37 of file constant.h.
ConstantTexture< T >::ConstantTexture | ( | const T & | v | ) | [inline] |
Definition at line 40 of file constant.h.
References ConstantTexture< T >::value.
T ConstantTexture< T >::Evaluate | ( | const DifferentialGeometry & | ) | const [inline, virtual] |
Implements Texture< T >.
Definition at line 41 of file constant.h.
References ConstantTexture< T >::value.
T ConstantTexture< T >::value [private] |
Definition at line 45 of file constant.h.
Referenced by ConstantTexture< T >::ConstantTexture(), and ConstantTexture< T >::Evaluate().