Added support for ReferenceFrame into osg::LightSource, modified the .osg

plugin and cull visitor to account for this change.
This commit is contained in:
Robert Osfield
2003-01-16 16:37:24 +00:00
parent a0e5b9b007
commit 4dd273de70
7 changed files with 118 additions and 31 deletions

View File

@@ -17,25 +17,35 @@ RegisterDotOsgWrapperProxy g_ShapeDrawableFuncProxy
new osg::ShapeDrawable,
"ShapeDrawable",
"Object Drawable ShapeDrawable",
&ShapeDrawable_readLocalData,
&ShapeDrawable_writeLocalData,
0,
0,
DotOsgWrapper::READ_AND_WRITE
);
bool ShapeDrawable_readLocalData(Object& obj, Input& fr)
{
bool iteratorAdvanced = false;
ShapeDrawable& geom = static_cast<ShapeDrawable&>(obj);
bool matchedFirst = false;
return iteratorAdvanced;
}
bool ShapeDrawable_writeLocalData(const Object& obj, Output& fw)
{
const ShapeDrawable& geom = static_cast<const ShapeDrawable&>(obj);
return true;
}
// RegisterDotOsgWrapperProxy g_ShapeDrawableFuncProxy
// (
// new osg::ShapeDrawable,
// "ShapeDrawable",
// "Object Drawable ShapeDrawable",
// &ShapeDrawable_readLocalData,
// &ShapeDrawable_writeLocalData,
// DotOsgWrapper::READ_AND_WRITE
// );
//
// bool ShapeDrawable_readLocalData(Object& obj, Input& fr)
// {
// bool iteratorAdvanced = false;
//
// ShapeDrawable& geom = static_cast<ShapeDrawable&>(obj);
//
// bool matchedFirst = false;
//
// return iteratorAdvanced;
// }
//
// bool ShapeDrawable_writeLocalData(const Object& obj, Output& fw)
// {
// const ShapeDrawable& geom = static_cast<const ShapeDrawable&>(obj);
//
// return true;
// }