MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / GetInterpolatedColor

Method GetInterpolatedColor

TombEngine/Game/Hud/DrawItems/DisplayItem.cpp:119–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 Color DisplayItem::GetInterpolatedColor(float alpha) const
120 {
121 return Color::Lerp(_prevColor, _color, alpha);
122 }
123
124 EulerAngles DisplayItem::GetInterpolatedMeshRotation(int meshIndex, float alpha) const
125 {

Callers 1

DrawObjectIn3DSpaceMethod · 0.80

Calls 1

LerpFunction · 0.85

Tested by

no test coverage detected