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

Method GetValue

trinity/Curves/Tr2CurveCombiner.cpp:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37Vector3 Tr2CurveCombiner::GetValue( double time ) const
38{
39 Vector3 out( 0.f, 0.f, 0.f );
40 for( auto it = begin( m_curves ); it != end( m_curves ); ++it )
41 {
42 Vector3 temp( 0.f, 0.f, 0.f );
43 ( *it )->GetValueAt( &temp, time );
44 out += temp;
45 }
46 return out;
47}
48
49// --------------------------------------------------------------------------------
50Vector3* Tr2CurveCombiner::Update( Vector3* in, Be::Time time )

Callers

nothing calls this directly

Calls 3

beginFunction · 0.50
endFunction · 0.50
GetValueAtMethod · 0.45

Tested by

no test coverage detected