Added callbacks to allow users to modify the underlying functionality of

LOD, Billboard and Drawabel objects.
This commit is contained in:
Robert Osfield
2002-02-07 01:07:11 +00:00
parent a4ea331f3a
commit b00d103f4e
6 changed files with 134 additions and 88 deletions

View File

@@ -24,6 +24,16 @@ Drawable::Drawable()
}
Drawable::Drawable(const Drawable& drawable,const CopyOp& copyop):
Object(drawable,copyop),
_dstate(copyop(drawable._dstate.get())),
_supportsDisplayList(drawable._supportsDisplayList),
_useDisplayList(drawable._useDisplayList),
_globjList(drawable._globjList),
_bbox(drawable._bbox),
_bbox_computed(drawable._bbox_computed),
_drawCallback(drawable._drawCallback)
{}
Drawable::~Drawable()
{