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

Method FlashColor

TombEngine/Game/effects/weather.h:159–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157
158 Vector3 Wind() { return Vector3(WindX / 2.0f, 0, WindZ / 2.0f); }
159 Vector3 FlashColor() { return FlashColorBase * sin((FlashProgress * PI) / 2.0f); }
160 Vector4 SkyColor(int index) { return SkyCurrentColor[std::clamp(index, 0, 1)]; }
161 short SkyPosition(int index) { return SkyCurrentPosition[std::clamp(index, 0, 1)]; }
162

Callers 1

DrawOverlaysMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected