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

Method ResetPrimitives

trinity/Tr2ScalingTool.cpp:466–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466void Tr2ScalingTool::ResetPrimitives()
467{
468 for( PrimitiveIterator it = m_primitives.begin(); it != m_primitives.end(); ++it )
469 {
470 ( *it )->m_localTransform = m_localTransform;
471 ( *it )->UpdateTransform();
472 }
473 m_xLine->m_localTransform = IdentityMatrix();
474 m_yLine->m_localTransform = IdentityMatrix();
475 m_zLine->m_localTransform = IdentityMatrix();
476
477 UpdateLines();
478}
479
480
481void Tr2ScalingTool::Init( Matrix& initialTransform )

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
UpdateTransformMethod · 0.45

Tested by

no test coverage detected