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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user