2001-01-11 00:32:10 +08:00
|
|
|
// 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()
|
|
|
|
{
|
2001-09-20 05:08:56 +08:00
|
|
|
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 );
|
2001-01-11 00:32:10 +08:00
|
|
|
}
|