22 void setColor(
const GLColor& col);
23 void setPointLight(
const Vector3& pos);
24 void setDirectionalLight(
const Vector3& dir);
25 void setSpotLight(
const Vector3& pos,
const Vector3& dir,
float exponent=0,
float cutoff=180);
27 void setCurrentGL(
const int id=0);
33 float spot_exponent,spot_cutoff;
A 3D vector class.
Definition: math3d/primitives.h:136
Class declarations for useful 3D math types.
A 4D vector class.
Definition: math3d/primitives.h:228
Contains all the definitions in the Math3D package.
Definition: AnyGeometry.h:13
Contains all definitions in the GLDraw package.
Definition: AnyGeometry.h:14
An OpenGL light.
Definition: GLLight.h:14
An rgba color.
Definition: GLColor.h:9