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

Method AddLines

Source/Graphics/pxdebugdraw.cpp:354–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354int DebugDraw::AddLines(const std::vector<float> &vertices, const std::vector<unsigned> &indices, const vec4 &color, const DDLifespan lifespan, const DDFlag &flags) {
355 DebugDrawElement *element = new DebugDrawLines(vertices, indices, color, flags);
356 return AddElement(element, lifespan);
357}
358
359int DebugDraw::AddLines(const std::vector<vec3> &vertices, const vec4 &color, const DDLifespan lifespan, const DDFlag &flags) {
360 DebugDrawElement *element = new DebugDrawLines(vertices, color, flags);

Callers 3

VoxellizeMeshFunction · 0.80
UpdateShadowCacheFunction · 0.80
ASDebugDrawLinesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected