Stores properties of OpenGL light source.
More...
#include <OpenGl_SceneGeometry.hxx>
Stores properties of OpenGL light source.
◆ OpenGl_RaytraceLight() [1/2]
| OpenGl_RaytraceLight::OpenGl_RaytraceLight |
( |
| ) |
|
|
default |
Creates new light source.
◆ OpenGl_RaytraceLight() [2/2]
| OpenGl_RaytraceLight::OpenGl_RaytraceLight |
( |
const BVH_Vec4f & | theEmission, |
|
|
const BVH_Vec4f & | thePosition ) |
Creates new light source.
◆ Packed()
| const float * OpenGl_RaytraceLight::Packed |
( |
| ) |
|
|
inline |
Returns packed (serialized) representation of light source.
◆ Emission
Diffuse intensity (in terms of OpenGL).
◆ Position
Position of light source (in terms of OpenGL).
The documentation for this struct was generated from the following file: