A light originating from a single point in space, and shining in all directions.
More...
A light originating from a single point in space, and shining in all directions.
Definition at line 27 of file pointLight.h.
Computes the vector from a particular vertex to this light.
The exact vector depends on the type of light (e.g. point lights return a different result than directional lights).
The input parameters are the vertex position in question, expressed in object space, and the matrix which converts from light space to object space. The result is expressed in object space.
The return value is true if the result is successful, or false if it cannot be computed (e.g. for an ambient light).
Reimplemented from Light.
Definition at line 187 of file pointLight.cxx.