Added new osgcallback demo, and updated small API changes to improve the

flexiblity of callbacks.

Added beginings of convex planer occlusions culling.
This commit is contained in:
Robert Osfield
2002-05-28 23:43:22 +00:00
parent a5a267d305
commit ae5e4f848f
22 changed files with 658 additions and 33 deletions

View File

@@ -103,7 +103,12 @@ void Drawable::compile(State& state)
globj = glGenLists( 1 );
glNewList( globj, GL_COMPILE );
drawImmediateMode(state);
if (_drawCallback.valid())
_drawCallback->drawImmediateMode(state,this);
else
drawImmediateMode(state);
glEndList();
}