HyperspaceExplorer 0.7.1
|
Implementation of a Light for OpenGL. More...
#include <Light.h>
Public Member Functions | |
LightOpenGL (const LightSource &s) | |
Construct a LightOpenGL from a LightSource definition. | |
virtual void | render () const |
Set the light source into the scene. |
Implementation of a Light for OpenGL.
void LightOpenGL::render | ( | ) | const [virtual] |
Set the light source into the scene.
Includes all OpenGL headers in a system-independent way.
Implements Light.
References Light::getAmbient(), Light::getDiffuse(), Light::getPosition(), and Light::getSpecular().
Referenced by C4DView::InitLight(), and C4DView::setLighting().