Added shape drawable into dot osg plugin.

This commit is contained in:
Robert Osfield
2002-11-07 08:49:12 +00:00
parent 15773d920a
commit 6d09a50c6d
3 changed files with 13 additions and 1 deletions

8
NEWS
View File

@@ -23,6 +23,14 @@ OSG News (most significant items from ChangeLog)
Draw and Sort callbacks added to osg::RenderStage.
Support for multitexturing added to OpenFlight loader.
LOD has been revamped to allow independat min and max ranges for
each LOD child, bringing it inline with the OpenFlight style LOD
representation.
Switch has been revamped to allow independat switching on or off of
each Switch child, bringing it inline with the OpenFlight style Switch
representation.
Added PolygonStipple class.

View File

@@ -242,6 +242,10 @@ SOURCE=..\..\..\src\osgPlugins\osg\ShadeModel.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgPlugins\osg\ShapeDrawable.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgPlugins\osg\Sequence.cpp
# End Source File
# Begin Source File

View File

@@ -219,7 +219,7 @@ class SG_EXPORT Drawable : public Object
virtual void drawImplementation(State& state,const osg::Drawable* drawable) const { drawImmediateMode(state,const_cast<Drawable*>(drawable)); }
/** do customized draw code.*/
virtual void drawImmediateMode(State& state,osg::Drawable* drawable) const {};
virtual void drawImmediateMode(State&,osg::Drawable*) const {};
#else
/** do customized draw code.*/
virtual void drawImplementation(State& state,const osg::Drawable* drawable) const = 0;