Submission from Perry Miller for support of OpenFlight15.7's local vertex pool

and mesh primitives.  Converted Perry's code to work with the osg::Geometry
instead of osg::GeoSet.
This commit is contained in:
Robert Osfield
2002-08-15 11:25:23 +00:00
parent 7d00b3b729
commit 61e3b34bc7
20 changed files with 1432 additions and 449 deletions

View File

@@ -117,6 +117,17 @@ void HeaderRecord::endian()
ENDIAN( pHeader->dfLambertUpperLat );
ENDIAN( pHeader->dfLambertLowerLat );
ENDIAN( pHeader->iNextLightSource );
// New with 15.7
// Note: Don't use "getFltFile()->getFlightVersion()", it's not set yet.
if ( pHeader->diFormatRevLev >= 1570 )
{
ENDIAN( pHeader->iNextAdaptiveNodeID );
ENDIAN( pHeader->iNextCurveNodeID );
ENDIAN( pHeader->dfDatabaseDeltaZ );
ENDIAN( pHeader->dfRadius );
ENDIAN( pHeader->iNextMeshNodeID );
}
}