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

Method Initialize

trinity/Particle/Tr2PlaneConstraint.cpp:48–56  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Implements IInitialize interface. Updates normalized plane value. Return Value: true always --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

46// true always
47// --------------------------------------------------------------------------------------
48bool Tr2PlaneConstraint::Initialize()
49{
50 m_normalizedPlane = Normalize( reinterpret_cast<Plane&>( m_plane ) );
51 for( auto it = m_onCollisionEmitters.begin(); it != m_onCollisionEmitters.end(); ++it )
52 {
53 ( *it )->SetThreadSafeFlag();
54 }
55 return true;
56}
57
58// --------------------------------------------------------------------------------------
59// Description:

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
SetThreadSafeFlagMethod · 0.45

Tested by

no test coverage detected