Engine → Physics → physics_debug_draw.h
physics_debug_draw
| Type | Class |
| Namespace | conjure::physics |
| Include File Path | engine/include/conjure/physics/physics_debug_draw.h |
| Source File Path | engine/src/physics/physics_debug_draw.cpp |
| API ↗ | Physics, The physics world and queries |
Syntax
Constructors
| Access | Signature | Description |
|---|---|---|
| public | physics_debug_draw(); |
Important
Copy constructor and assignment has been deleted.
Destructors
| Access | Signature | Description |
|---|---|---|
| public | virtual ~physics_debug_draw(); |
Functions
Public
line
linevirtual void line(
const math::vec3 &from,
const math::vec3 &to,
u32 rgba) = 0;A world-space line segment.
text
textvirtual void text(
const math::vec3 &position,
std::string_view text,
u32 rgba,
f32 height);A world-space label of the given height in metres. The default implementation draws nothing.
triangle
trianglevirtual void triangle(
const math::vec3 &a,
const math::vec3 &b,
const math::vec3 &c,
u32 rgba) = 0;A world-space filled triangle.