NGL  6.5
The NCCA Graphics Library
SpotLight.h File Reference

Encapsulation of OpenGL spotlight inherits from the Light class. More...

#include "Light.h"
+ Include dependency graph for SpotLight.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ngl::SpotLight
 Encapsulation of OpenGL spotlight inherits from the Light class. More...
 

Namespaces

 ngl
 implementation files for RibExport class
 

Detailed Description

Encapsulation of OpenGL spotlight inherits from the Light class.

Author
Jonathan Macey
Version
2.0
Date
24/11/04 this will fill in the following structure

struct Lights { vec4 position; vec3 direction; vec4 ambient; vec4 diffuse; vec4 specular; float spotCosCutoff; float spotCosInnerCutoff; float spotExponent; float constantAttenuation; float linearAttenuation; float quadraticAttenuation; };

Definition in file SpotLight.h.