OpenSceneGraph/src/osgPlugins/flt/ObjectRecord.cpp
2001-09-19 21:08:56 +00:00

39 lines
736 B
C++

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