MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASDebugDrawSphere

Function ASDebugDrawSphere

Source/Scripting/angelscript/asfuncs.cpp:2240–2243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2238}
2239
2240int ASDebugDrawSphere(vec3 pos, float radius, vec3 color, int lifespan_int) {
2241 DDLifespan lifespan = LifespanFromInt(lifespan_int);
2242 return DebugDraw::Instance()->AddWireSphere(pos, radius, color, lifespan);
2243}
2244
2245int ASDebugDrawWireMesh(std::string path, mat4 transform, vec4 color, int lifespan_int) {
2246 DDLifespan lifespan = LifespanFromInt(lifespan_int);

Callers

nothing calls this directly

Calls 2

LifespanFromIntFunction · 0.85
AddWireSphereMethod · 0.80

Tested by

no test coverage detected