| 89 | } |
| 90 | |
| 91 | Vector3* TriVectorSequencer::GetValueAtAverage( |
| 92 | Vector3* in, |
| 93 | Be::Time now ) |
| 94 | { |
| 95 | *in = Vector3( 0.0f, 0.0f, 0.0f ); |
| 96 | Vector3 temp; |
| 97 | float multiplier = 1.f / (float)mFunctions.GetSize(); |
| 98 | for( int i = 0; i < mFunctions.GetSize(); i++ ) |
| 99 | { |
| 100 | mFunctions[i]->GetValueAt( &temp, now ); |
| 101 | *in += temp * multiplier; |
| 102 | } |
| 103 | return in; |
| 104 | } |
| 105 | |
| 106 | Vector3* TriVectorSequencer::GetValueAtAdd( |
| 107 | Vector3* in, |
nothing calls this directly
no test coverage detected