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

Function SpawnDynamicSpotLight

TombEngine/Game/effects/Light.cpp:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13 }
14
15 void SpawnDynamicSpotLight(const Vector3& pos, const Vector3& dir, const Color& color, float radius, float falloff, float dist, bool castShadows, int hash)
16 {
17 g_Renderer.AddDynamicSpotLight(pos, dir, radius, falloff, dist, color, castShadows, hash);
18 }
19
20 void SpawnDynamicLight(int x, int y, int z, short falloff, byte r, byte g, byte b)
21 {

Callers 3

DrawUPVLightFunction · 0.85
DrawMotorbikeLightFunction · 0.85
EmitSpotLightFunction · 0.85

Calls 1

AddDynamicSpotLightMethod · 0.80

Tested by

no test coverage detected