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

Method AddBillboard

Source/Graphics/pxdebugdraw.cpp:369–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369int DebugDraw::AddBillboard(const TextureRef &ref, const vec3 &position, float scale, const vec4 &color, AlphaMode mode, const DDLifespan lifespan) {
370 DebugDrawElement *element = new DebugDrawBillboard(ref, position, scale, color, mode);
371 return AddElement(element, lifespan);
372}
373
374int DebugDraw::AddTransformedWireScaledSphere(const mat4 &transform, const vec4 &color, const DDLifespan lifespan) {
375 DebugDrawWireSphere *element = new DebugDrawWireSphere(transform, color);

Callers 3

DebugDrawBillboardMethod · 0.80
DrawMethod · 0.80
ASDebugDrawBillboardFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected