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

Function SpawnDynamicFogBulb

TombEngine/Game/effects/Light.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 }
24
25 void SpawnDynamicFogBulb(const Vector3& pos, short radius, short density, const Color& color, int hash)
26 {
27 g_Renderer.AddDynamicFogBulb(pos, float(radius * UCHAR_MAX), float(density / (float)UCHAR_MAX), color, hash);
28 }
29}

Callers 2

ControlFirePendulumFunction · 0.85
EmitFogBulbFunction · 0.85

Calls 1

AddDynamicFogBulbMethod · 0.80

Tested by

no test coverage detected