Function in ldk_debug_draw.h

ldk_debug_draw_box

Draw an axis-aligned 3D bounding box.

LDK_API bool ldk_debug_draw_box(
 const LDKDebugDraw *draw,
 Vec3 minimum,
 Vec3 maximum
);

Parameters

const LDKDebugDraw *draw
Debug drawing context.
Vec3 minimum
Minimum used by this operation.
Vec3 maximum
Maximum used by this operation.

Returns

True if the operation succeeds; false otherwise.

Function in ldk_debug_draw.h

ldk_debug_draw_sphere

Draw a wireframe sphere in 3D space.

LDK_API bool ldk_debug_draw_sphere(
 const LDKDebugDraw *draw,
 Vec3 center,
 float radius,
 u32 segments
);

Parameters

const LDKDebugDraw *draw
Debug drawing context.
Vec3 center
Center of the geometry.
float radius
Interaction or geometry radius.
u32 segments
Segments used by this operation.

Returns

True if the operation succeeds; false otherwise.