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

Method GetValueAtMult

trinity/TriSequencer.cpp:75–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75Vector3* TriVectorSequencer::GetValueAtMult(
76 Vector3* in,
77 Be::Time now )
78{
79 *in = Vector3( 1.0f, 1.0f, 1.0f );
80 Vector3 temp;
81 for( int i = 0; i < mFunctions.GetSize(); i++ )
82 {
83 mFunctions[i]->GetValueAt( &temp, now );
84 in->x *= temp.x;
85 in->y *= temp.y;
86 in->z *= temp.z;
87 }
88 return in;
89}
90
91Vector3* TriVectorSequencer::GetValueAtAverage(
92 Vector3* in,

Callers

nothing calls this directly

Calls 3

Vector3Class · 0.70
GetSizeMethod · 0.45
GetValueAtMethod · 0.45

Tested by

no test coverage detected