From Michael Morrison, added support for the OpenFlight BSPRecord, simply

mapping it to a Group.
This commit is contained in:
Robert Osfield
2003-11-25 10:20:21 +00:00
parent c7b96d18b7
commit bd686c4598
7 changed files with 122 additions and 0 deletions

View 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 );
}