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

Method Update

trinity/Tr2ScalingTool.cpp:426–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426void Tr2ScalingTool::Update()
427{
428 Matrix translation = TranslationMatrix( m_pivot );
429 m_worldTransform = m_localTransform * translation;
430 for( PrimitiveIterator it = m_primitives.begin(); it != m_primitives.end(); ++it )
431 {
432 ( *it )->UpdateTransform();
433 }
434
435 UpdateLines();
436}
437
438void Tr2ScalingTool::UpdateLines()
439{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
UpdateTransformMethod · 0.45

Tested by

no test coverage detected