OpenSceneGraph/src/osgPlugins/flt/ExternalRecord.cpp
2001-12-04 16:03:10 +00:00

44 lines
739 B
C++

// ExternalRecord.cpp
#include "flt.h"
#include "Registry.h"
#include "FltFile.h"
#include "ExternalRecord.h"
using namespace flt;
////////////////////////////////////////////////////////////////////
//
// ExternalRecord
//
////////////////////////////////////////////////////////////////////
RegisterRecordProxy<ExternalRecord> g_ExternalProxy;
ExternalRecord::ExternalRecord()
{
}
// virtual
ExternalRecord::~ExternalRecord()
{
}
void ExternalRecord::setExternal(FltFile* pExternal)
{
_fltfile = pExternal;
}
void ExternalRecord::endian()
{
SExternalReference *pSExternal = (SExternalReference*)getData();
if (getFlightVersion() > 13)
{
ENDIAN( pSExternal->dwFlags );
}
}