struct debug_box3d debug_box3d
KAPI b8 debug_box3d_initialize(debug_box3d *box)
KAPI b8 debug_box3d_unload(debug_box3d *box)
KAPI void debug_box3d_colour_set(debug_box3d *box, vec4 colour)
KAPI void debug_box3d_parent_set(debug_box3d *box, khandle parent_xform)
KAPI b8 debug_box3d_load(debug_box3d *box)
KAPI void debug_box3d_destroy(debug_box3d *box)
KAPI void debug_box3d_extents_set(debug_box3d *box, extents_3d extents)
KAPI void debug_box3d_render_frame_prepare(debug_box3d *box, const struct frame_data *p_frame_data)
KAPI b8 debug_box3d_update(debug_box3d *box)
KAPI void debug_box3d_points_set(debug_box3d *box, vec3 points[8])
KAPI b8 debug_box3d_create(vec3 size, khandle parent_xform, debug_box3d *out_box)
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
_Bool b8
8-bit boolean type
Definition: defines.h:58
Contains a system for creating numeric identifiers.
A global handle system for Kohi. Handles are used to obtain various resources using a unique handle i...
u64 kname
A kname is a string hash made for quick comparisons versus traditional string comparisons.
Definition: kname.h:36
Contains various math types required for the engine.
Definition: debug_box3d.h:9
khandle parent_xform
Definition: debug_box3d.h:15
kname name
Definition: debug_box3d.h:11
vec3 size
Definition: debug_box3d.h:12
identifier id
Definition: debug_box3d.h:10
khandle xform
Definition: debug_box3d.h:14
b8 is_dirty
Definition: debug_box3d.h:17
vec4 colour
Definition: debug_box3d.h:13
kgeometry geometry
Definition: debug_box3d.h:19
Represents the extents of a 3d object.
Definition: math_types.h:213
Engine-level current frame-specific data.
Definition: frame_data.h:11
Definition: identifier.h:20
Represents geometry to be used for various purposes (rendering objects in the world,...
Definition: geometry.h:38
A handle is a unique identifier used a system in the engine to avoid using raw pointers where possibl...
Definition: khandle.h:25
A 3-element vector.
Definition: math_types.h:49
A 4-element vector.
Definition: math_types.h:89