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

Method Update

trinity/Curves/Tr2CurveVector3Expression.cpp:246–254  ·  view source on GitHub ↗

--------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

244
245// --------------------------------------------------------------------------------
246Color* Tr2CurveVector3Expression::Update( Color* in, Be::Time time )
247{
248 m_currentValue = GetValue( TimeAsDouble( time ) );
249 in->r = m_currentValue.x;
250 in->g = m_currentValue.y;
251 in->b = m_currentValue.z;
252 in->a = 0;
253 return in;
254}
255
256// --------------------------------------------------------------------------------
257Color* Tr2CurveVector3Expression::Update( Color* in, double time )

Callers

nothing calls this directly

Calls 1

GetValueFunction · 0.85

Tested by

no test coverage detected