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

Function ASDebugDrawLine

Source/Scripting/angelscript/asfuncs.cpp:2182–2185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2180const int _fade_val = _fade;
2181
2182int ASDebugDrawLine(vec3 start, vec3 end, vec3 color, int lifespan_int) {
2183 DDLifespan lifespan = LifespanFromInt(lifespan_int);
2184 return DebugDraw::Instance()->AddLine(start, end, color, lifespan);
2185}
2186
2187int ASDebugDrawBillboard(const std::string& texture_path, vec3 center, float scale, vec4 color, int lifespan_int) {
2188 DDLifespan lifespan = LifespanFromInt(lifespan_int);

Callers

nothing calls this directly

Calls 2

LifespanFromIntFunction · 0.85
AddLineMethod · 0.45

Tested by

no test coverage detected