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

Method GetValueAt

trinity/TriSequencer.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63Vector3* TriVectorSequencer::GetValueAt(
64 Vector3* in,
65 Be::Time now )
66{
67 if( mOperator == TRIOP_MULTIPLY )
68 return GetValueAtMult( in, now );
69 else if( mOperator == TRIOP_ADD )
70 return GetValueAtAdd( in, now );
71 else
72 return GetValueAtAverage( in, now );
73}
74
75Vector3* TriVectorSequencer::GetValueAtMult(
76 Vector3* in,

Callers 3

GetValueAtMultMethod · 0.45
GetValueAtAverageMethod · 0.45
GetValueAtAddMethod · 0.45

Calls 1

PerlinNoise1DFunction · 0.85

Tested by

no test coverage detected