Added Endian test header to the core osg, and add use of the new

getCpuByteOrder test in LightPointDrawable.
This commit is contained in:
Robert Osfield
2003-03-19 21:46:44 +00:00
parent 21a74223e6
commit a3bb1da618
3 changed files with 62 additions and 12 deletions

View File

@@ -19,9 +19,11 @@ using namespace osgSim;
LightPointDrawable::LightPointDrawable():
osg::Drawable(),
_endian(osg::getCpuByteOrder()),
_referenceTime(0.0),
_referenceTimeInterval(0.0)
{
setSupportsDisplayList(false);
_depthOff = new osg::Depth;