OpenSceneGraph/src/osgPlugins/flt/ObjectRecord.cpp

39 lines
736 B
C++
Raw Normal View History

2001-01-11 00:32:10 +08:00
// 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();
2001-01-11 00:32:10 +08:00
ENDIAN( pSObject->dwFlags );
ENDIAN( pSObject->iObjectRelPriority );
ENDIAN( pSObject->wTransparency );
ENDIAN( pSObject->iSpecialId_1 );
ENDIAN( pSObject->iSpecialId_2 );
ENDIAN( pSObject->iSignificance );
}