KAPI void debug_sphere3d_destroy(debug_sphere3d *sphere)
KAPI void debug_sphere3d_render_frame_prepare(debug_sphere3d *sphere, const struct frame_data *p_frame_data)
KAPI b8 debug_sphere3d_create(f32 radius, vec4 colour, khandle parent_xform, debug_sphere3d *out_sphere)
KAPI void debug_sphere3d_parent_set(debug_sphere3d *sphere, khandle parent_xform)
KAPI b8 debug_sphere3d_initialize(debug_sphere3d *sphere)
KAPI b8 debug_sphere3d_update(debug_sphere3d *sphere)
KAPI b8 debug_sphere3d_load(debug_sphere3d *sphere)
struct debug_sphere3d debug_sphere3d
KAPI void debug_sphere3d_colour_set(debug_sphere3d *sphere, vec4 colour)
KAPI b8 debug_sphere3d_unload(debug_sphere3d *sphere)
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
float f32
32-bit floating point number
Definition: defines.h:47
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_sphere3d.h:9
khandle parent_xform
Definition: debug_sphere3d.h:15
f32 radius
Definition: debug_sphere3d.h:12
kname name
Definition: debug_sphere3d.h:11
identifier id
Definition: debug_sphere3d.h:10
khandle xform
Definition: debug_sphere3d.h:14
b8 is_dirty
Definition: debug_sphere3d.h:17
vec4 colour
Definition: debug_sphere3d.h:13
kgeometry geometry
Definition: debug_sphere3d.h:19
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 4-element vector.
Definition: math_types.h:89