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

Function ASDebugDrawLine2

Source/Scripting/angelscript/asfuncs.cpp:2193–2196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2191}
2192
2193int ASDebugDrawLine2(vec3 start, vec3 end, vec3 color, vec3 color2, int lifespan_int) {
2194 DDLifespan lifespan = LifespanFromInt(lifespan_int);
2195 return DebugDraw::Instance()->AddLine(start, end, color, color2, lifespan);
2196}
2197
2198int ASDebugDrawLine3(vec3 start, vec3 end, vec4 color, vec4 color2, int lifespan_int) {
2199 DDLifespan lifespan = LifespanFromInt(lifespan_int);

Callers

nothing calls this directly

Calls 2

LifespanFromIntFunction · 0.85
AddLineMethod · 0.45

Tested by

no test coverage detected