4
* 2000-December-20 Jason Rohrer
9
#ifndef LIGHTING_GL_INCLUDED
10
#define LIGHTING_GL_INCLUDED
12
#include "minorGems/math/geometry/Vector3D.h"
13
#include "minorGems/graphics/Color.h"
16
* Interface for lighting in an OpenGL scene.
18
* @author Jason Rohrer
25
* Gets the lighting color for a particular point on a surface
26
* with a particular orientation.
28
* @param inPoint the surface point.
29
* @param inNormal direction vector for normal at surface point.
31
* @param outColor preallocated Color where the lighting color
32
* of this surface point will be returned.
34
virtual void getLighting( Vector3D *inPoint, Vector3D *inNormal,
35
Color *outColor ) = 0;