| 15 | CCP_STATS_DECLARE( wodIntSkinnedObjectsAlive, "Trinity/wodIntSkinnedObjectsAlive", false, CST_COUNTER_LOW, "Count of Tr2IntSkinnedObjects alive" ); |
| 16 | |
| 17 | Tr2IntSkinnedObject::Tr2IntSkinnedObject( IRoot* lockobj ) : |
| 18 | Tr2SkinnedObject( lockobj ), |
| 19 | m_boundingSphere( 0.f, 0.f, 0.f, 0.f ), |
| 20 | m_lightSet(), |
| 21 | m_isInApexScene( false ), |
| 22 | m_cellReflectionTime( 0.0f ), |
| 23 | m_previousUpdateTime( 0 ), |
| 24 | m_depthOffset( 0.f ), |
| 25 | m_currentPosition( 0.0f, 0.0f, 0.0f ), |
| 26 | m_currentScaling( 1.0f, 1.0f, 1.0f ), |
| 27 | m_currentRotation( 0.0f, 0.0f, 0.0f, 1.0f ), |
| 28 | m_positionSet( false ), |
| 29 | m_scalingSet( false ), |
| 30 | m_rotationSet( false ) |
| 31 | { |
| 32 | m_variableStore.CreateInstance(); |
| 33 | m_variableStore->SetParentVariableStore( &GlobalStore() ); |
| 34 | |
| 35 | m_variableStore->RegisterVariable( "CellReflectionMap", (TriTextureRes*)NULL ); |
| 36 | m_variableStore->RegisterVariable( "CellReflection2ndMap", (TriTextureRes*)NULL ); |
| 37 | m_variableStore->RegisterVariable( "CellReflectionInterpolation", 0.0f ); |
| 38 | |
| 39 | CCP_STATS_INC( wodIntSkinnedObjectsAlive ); |
| 40 | } |
| 41 | |
| 42 | Tr2IntSkinnedObject::~Tr2IntSkinnedObject() |
| 43 | { |
nothing calls this directly
no test coverage detected