Initial revision
This commit is contained in:
47
src/osgPlugins/flt/LightSourceRecord.cpp
Normal file
47
src/osgPlugins/flt/LightSourceRecord.cpp
Normal file
@@ -0,0 +1,47 @@
|
||||
// LightSourceRecord.cpp
|
||||
|
||||
#include "flt.h"
|
||||
#include "Registry.h"
|
||||
#include "LightSourceRecord.h"
|
||||
|
||||
|
||||
using namespace flt;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// LightSourceRecord
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
||||
RegisterRecordProxy<LightSourceRecord> g_LightSourceRecordProxy;
|
||||
|
||||
|
||||
LightSourceRecord::LightSourceRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
LightSourceRecord::~LightSourceRecord()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// virtual
|
||||
void LightSourceRecord::endian()
|
||||
{
|
||||
SLightSource *pSLightSource = (SLightSource*)getData();
|
||||
|
||||
ENDIAN( pSLightSource->diReserved_1 );
|
||||
ENDIAN( pSLightSource->diIndex );
|
||||
ENDIAN( pSLightSource->diReserved_2 );
|
||||
ENDIAN( pSLightSource->dwFlags );
|
||||
ENDIAN( pSLightSource->diReserved_3 );
|
||||
pSLightSource->Coord.endian();
|
||||
ENDIAN( pSLightSource->sfYaw );
|
||||
ENDIAN( pSLightSource->sfPitch );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user