From Michael Morrison, added support for the OpenFlight BSPRecord, simply
mapping it to a Group.
This commit is contained in:
39
src/osgPlugins/flt/BSPRecord.cpp
Normal file
39
src/osgPlugins/flt/BSPRecord.cpp
Normal file
@@ -0,0 +1,39 @@
|
||||
// BSPRecord.cpp
|
||||
//
|
||||
// Author: Michael M. Morrison
|
||||
//
|
||||
|
||||
#include "flt.h"
|
||||
#include "Registry.h"
|
||||
#include "BSPRecord.h"
|
||||
|
||||
using namespace flt;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// BSPRecord
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
RegisterRecordProxy<BSPRecord> g_BSPProxy;
|
||||
|
||||
BSPRecord::BSPRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
BSPRecord::~BSPRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void BSPRecord::endian()
|
||||
{
|
||||
SBSP *pSBSP = (SBSP*)getData();
|
||||
|
||||
ENDIAN( pSBSP->planeA );
|
||||
ENDIAN( pSBSP->planeB );
|
||||
ENDIAN( pSBSP->planeC );
|
||||
ENDIAN( pSBSP->planeD );
|
||||
}
|
||||
Reference in New Issue
Block a user