Initial revision
This commit is contained in:
42
src/osgPlugins/flt/ObjectRecord.cpp
Normal file
42
src/osgPlugins/flt/ObjectRecord.cpp
Normal file
@@ -0,0 +1,42 @@
|
||||
// ObjectRecord.cpp
|
||||
|
||||
#include "flt.h"
|
||||
#include "Registry.h"
|
||||
#include "ObjectRecord.h"
|
||||
|
||||
using namespace flt;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// ObjectRecord
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
RegisterRecordProxy<ObjectRecord> g_ObjectProxy;
|
||||
|
||||
|
||||
ObjectRecord::ObjectRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
ObjectRecord::~ObjectRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void ObjectRecord::endian()
|
||||
{
|
||||
SObject *pSObject = (SObject*)getData();
|
||||
|
||||
ENDIAN( pSObject->dwFlags );
|
||||
ENDIAN( pSObject->iObjectRelPriority );
|
||||
ENDIAN( pSObject->wTransparency );
|
||||
ENDIAN( pSObject->iSpecialId_1 );
|
||||
ENDIAN( pSObject->iSpecialId_2 );
|
||||
ENDIAN( pSObject->iSignificance );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user