MCPcopy Create free account
hub / github.com/carbonengine/trinity / PostPhysicsUpdate

Method PostPhysicsUpdate

trinity/Interior/Tr2IntSkinnedObject.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73void Tr2IntSkinnedObject::PostPhysicsUpdate( Be::Time time, Tr2ApexScene* apexScene )
74{
75 Tr2SkinnedObject::PostPhysicsUpdate( time, apexScene );
76
77 m_variableStore->RegisterVariable( "CellReflectionMap", m_cellReflectionMaps[0] );
78 m_variableStore->RegisterVariable( "CellReflection2ndMap", m_cellReflectionMaps[1] );
79 m_cellReflectionTime += TimeAsFloat( time - m_previousUpdateTime );
80 m_variableStore->RegisterVariable( "CellReflectionInterpolation", m_cellReflectionTime );
81 m_previousUpdateTime = time;
82}
83
84// --------------------------------------------------------------------------------------
85// Description:

Callers 2

UpdateMethod · 0.45
UpdateMethod · 0.45

Calls 1

RegisterVariableMethod · 0.80

Tested by

no test coverage detected