Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

toxic::ConstantTexture Class Reference

#include <constanttexture.h>

Inheritance diagram for toxic::ConstantTexture:

toxic::ITexture sheep::IClonable< ITexture > List of all members.

Public Member Functions

 ConstantTexture (const Color3 &color)
virtual ConstantTextureClone () const
virtual Color3 Evaluate (const Hit &hit) const

Private Attributes

Color3 m_color

Constructor & Destructor Documentation

ConstantTexture::ConstantTexture const Color3 color  ) 
 

Definition at line 27 of file constanttexture.cpp.

Referenced by Clone().


Member Function Documentation

ConstantTexture * ConstantTexture::Clone  )  const [virtual]
 

Implements sheep::IClonable< ITexture >.

Definition at line 32 of file constanttexture.cpp.

References ConstantTexture(), and m_color.

Color3 ConstantTexture::Evaluate const Hit hit  )  const [inline, virtual]
 

Implements toxic::ITexture.

Definition at line 69 of file constanttexture.h.


Member Data Documentation

Color3 toxic::ConstantTexture::m_color [private]
 

Definition at line 43 of file constanttexture.h.

Referenced by Clone().


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:57 2004 for toxic by doxygen 1.3.6