#include <Lightx.h>
Public Member Functions | |
| Spotx () | |
| virtual | ~Spotx () |
| GLvoid | setDirectionx (FixedPointx newDirection[3]) |
| GLvoid | shineAtx (FixedPointx centerx, FixedPointx centery, FixedPointx centerz) |
| GLvoid | setExponentx (FixedPointx newExponent) |
| GLvoid | setCutoffx (FixedPointx newCutoff) |
| GLvoid | getDirectionx (FixedPointx currentDirection[3]) |
| FixedPointx | getExponentx (GLvoid) |
| FixedPointx | getCutoffx (GLvoid) |
| ES3D::Lightx::Spotx::Spotx | ( | ) |
Cosntructor
| ES3D::Lightx::Spotx::~Spotx | ( | ) | [virtual] |
Destructor
| FixedPointx ES3D::Lightx::Spotx::getCutoffx | ( | GLvoid | ) |
Returns the cutoff
| GLvoid ES3D::Lightx::Spotx::getDirectionx | ( | FixedPointx | currentDirection[3] | ) |
Returns the current direction
| currentDirection | the current direction |
| FixedPointx ES3D::Lightx::Spotx::getExponentx | ( | GLvoid | ) |
Returns the exponent
| GLvoid ES3D::Lightx::Spotx::setCutoffx | ( | FixedPointx | newCutoff | ) |
Sets the new cutoff of the spotlight
| newCutoff | the new cutoff |
| GLvoid ES3D::Lightx::Spotx::setDirectionx | ( | FixedPointx | newDirection[3] | ) |
Sets the new direction of the spotlight.
| newDirection | the new direction |
| GLvoid ES3D::Lightx::Spotx::setExponentx | ( | FixedPointx | newExponent | ) |
Sets the new exponent of the spotlight.
| newExponent | the new exponent |
| GLvoid ES3D::Lightx::Spotx::shineAtx | ( | FixedPointx | centerx, | |
| FixedPointx | centery, | |||
| FixedPointx | centerz | |||
| ) |
Changes direction to shine at the center from the current position. Silently ignores directional light.
| centerx | x coordiante of the point to shine at | |
| centery | y coordiante of the point to shine at | |
| centerz | z coordiante of the point to shine at |
1.4.7