MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / reset

Method reset

src/utils/DebugRenderer.cpp:62–66  ·  view source on GitHub ↗

Clear all the debugging primitives (points, lines, triangles, ...)

Source from the content-addressed store, hash-verified

60
61// Clear all the debugging primitives (points, lines, triangles, ...)
62void DebugRenderer::reset() {
63
64 mLines.clear();
65 mTriangles.clear();
66}
67
68// Draw an AABB
69void DebugRenderer::drawAABB(const AABB& aabb, uint32 color) {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected