#include <Texture.hh>


Definition at line 93 of file Texture.hh.
Public Member Functions | |
| Checked (const Color &A=ColLib::White(), const Color &B=ColLib::Black(), const Double SizeU=1.0, const Double SizeV=1.0, const Bool Tiled=true) | |
| virtual Color | Get (Math::Point UV) const |
Protected Member Functions | |
| virtual std::string | Dump () const |
Protected Attributes | |
| const Color | A |
| const Color | B |
| World::TexLib::Checked::Checked | ( | const Color & | A = ColLib::White(), |
|
| const Color & | B = ColLib::Black(), |
|||
| const Double | SizeU = 1.0, |
|||
| const Double | SizeV = 1.0, |
|||
| const Bool | Tiled = true | |||
| ) | [inline] |
Initialize checked texture
Definition at line 102 of file Texture.hh.
| std::string World::TexLib::Checked::Dump | ( | ) | const [protected, virtual] |
Debug function; dumps information about texture
Reimplemented from World::Texture.
Definition at line 51 of file Texture.cc.
References World::Texture::Dump().

| virtual Color World::TexLib::Checked::Get | ( | Math::Point | UV | ) | const [inline, virtual] |
Get texture color at point (u,v)
Implements World::Texture.
Definition at line 111 of file Texture.hh.
References A, B, World::ColLib::Black(), Math::Point::GetU(), Math::Point::GetV(), World::Texture::SizeU, World::Texture::SizeV, World::Texture::Tile(), and World::Texture::Tiled.

const Color World::TexLib::Checked::A [protected] |
const Color World::TexLib::Checked::B [protected] |
1.5.5