![]() |
An open-source, flexible 3D physical simulation framework
|
Wraps lightStruct in osg::LightSource. More...
#include <OSGLightStruct.h>
Public Member Functions | |
OSGLightStruct (const mars::interfaces::LightData &ls) | |
Constructor creates osg::LightSource from lightStruct. More... | |
void | update (const mars::interfaces::LightData &ls) |
Private Attributes | |
osg::ref_ptr< osg::Light > | light_ |
osg::ref_ptr< osg::Geode > | lightMarkerGeode |
Wraps lightStruct in osg::LightSource.
Definition at line 42 of file OSGLightStruct.h.
mars::graphics::OSGLightStruct::OSGLightStruct | ( | const mars::interfaces::LightData & | ls | ) |
Constructor creates osg::LightSource from lightStruct.
Definition at line 51 of file OSGLightStruct.cpp.
void mars::graphics::OSGLightStruct::update | ( | const mars::interfaces::LightData & | ls | ) |
Definition at line 98 of file OSGLightStruct.cpp.
|
private |
Definition at line 51 of file OSGLightStruct.h.
|
private |
Definition at line 52 of file OSGLightStruct.h.