Open CASCADE Technology
6.9.0
|
Stores properties of OpenGL light source. More...
#include <OpenGl_SceneGeometry.hxx>
Public Member Functions | |
OpenGl_RaytraceLight (const BVH_Vec4f &theDiffuse, const BVH_Vec4f &thePosition) | |
Creates new light source. More... | |
const Standard_ShortReal * | Packed () |
Returns packed (serialized) representation of light source. More... | |
Data Fields | |
BVH_Vec4f | Diffuse |
Diffuse intensity (in terms of OpenGL). More... | |
BVH_Vec4f | Position |
Position of light source (in terms of OpenGL). More... | |
Stores properties of OpenGL light source.
OpenGl_RaytraceLight::OpenGl_RaytraceLight | ( | const BVH_Vec4f & | theDiffuse, |
const BVH_Vec4f & | thePosition | ||
) |
Creates new light source.
|
inline |
Returns packed (serialized) representation of light source.
BVH_Vec4f OpenGl_RaytraceLight::Diffuse |
Diffuse intensity (in terms of OpenGL).
BVH_Vec4f OpenGl_RaytraceLight::Position |
Position of light source (in terms of OpenGL).