KAPI b8 debug_grid_update(debug_grid *grid)
struct debug_grid_config debug_grid_config
KAPI b8 debug_grid_unload(debug_grid *grid)
KAPI void debug_grid_destroy(debug_grid *grid)
KAPI b8 debug_grid_load(debug_grid *grid)
KAPI b8 debug_grid_create(const debug_grid_config *config, debug_grid *out_grid)
KAPI b8 debug_grid_initialize(debug_grid *grid)
struct debug_grid debug_grid
This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:205
unsigned int u32
Unsigned 32-bit integer.
Definition: defines.h:25
_Bool b8
8-bit boolean type
Definition: defines.h:58
float f32
32-bit floating point number
Definition: defines.h:47
grid_orientation
Definition: geometry.h:71
Contains a system for creating numeric identifiers.
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_grid.h:6
grid_orientation orientation
Definition: debug_grid.h:8
kname name
Definition: debug_grid.h:7
u32 segment_count_dim_0
The space count in the first dimension of the orientation from both directions outward from origin.
Definition: debug_grid.h:10
f32 segment_size
How large each tile is on the both axes, relative to one unit (default = 1.0).
Definition: debug_grid.h:14
b8 use_third_axis
Indicates if a third axis is to be rendered.
Definition: debug_grid.h:17
u32 segment_count_dim_1
The space count in the second dimension of the orientation from both directions outward from origin.
Definition: debug_grid.h:12
Definition: debug_grid.h:20
grid_orientation orientation
Definition: debug_grid.h:23
kname name
Definition: debug_grid.h:22
u32 segment_count_dim_0
The space count in the first dimension of the orientation from both directions outward from origin.
Definition: debug_grid.h:25
f32 segment_size
How large each tile is on the both axes, relative to one unit (default = 1.0).
Definition: debug_grid.h:29
vec3 origin
Definition: debug_grid.h:34
identifier id
Definition: debug_grid.h:21
b8 use_third_axis
Indicates if a third axis is to be rendered.
Definition: debug_grid.h:32
u32 segment_count_dim_1
The space count in the second dimension of the orientation from both directions outward from origin.
Definition: debug_grid.h:27
kgeometry geometry
Definition: debug_grid.h:36
Definition: identifier.h:20
Represents geometry to be used for various purposes (rendering objects in the world,...
Definition: geometry.h:38
A 3-element vector.
Definition: math_types.h:49