Kohi Game Engine
debug_box3d.h File Reference
#include "defines.h"
#include "identifiers/identifier.h"
#include "identifiers/khandle.h"
#include "math/geometry.h"
#include "math/math_types.h"

Go to the source code of this file.

Data Structures

struct  debug_box3d
 

Typedefs

typedef struct debug_box3d debug_box3d
 

Functions

KAPI b8 debug_box3d_create (vec3 size, khandle parent_xform, debug_box3d *out_box)
 
KAPI void debug_box3d_destroy (debug_box3d *box)
 
KAPI void debug_box3d_parent_set (debug_box3d *box, khandle parent_xform)
 
KAPI void debug_box3d_colour_set (debug_box3d *box, vec4 colour)
 
KAPI void debug_box3d_extents_set (debug_box3d *box, extents_3d extents)
 
KAPI void debug_box3d_points_set (debug_box3d *box, vec3 points[8])
 
KAPI void debug_box3d_render_frame_prepare (debug_box3d *box, const struct frame_data *p_frame_data)
 
KAPI b8 debug_box3d_initialize (debug_box3d *box)
 
KAPI b8 debug_box3d_load (debug_box3d *box)
 
KAPI b8 debug_box3d_unload (debug_box3d *box)
 
KAPI b8 debug_box3d_update (debug_box3d *box)
 

Typedef Documentation

◆ debug_box3d

typedef struct debug_box3d debug_box3d

Function Documentation

◆ debug_box3d_colour_set()

KAPI void debug_box3d_colour_set ( debug_box3d box,
vec4  colour 
)

◆ debug_box3d_create()

KAPI b8 debug_box3d_create ( vec3  size,
khandle  parent_xform,
debug_box3d out_box 
)

◆ debug_box3d_destroy()

KAPI void debug_box3d_destroy ( debug_box3d box)

◆ debug_box3d_extents_set()

KAPI void debug_box3d_extents_set ( debug_box3d box,
extents_3d  extents 
)

◆ debug_box3d_initialize()

KAPI b8 debug_box3d_initialize ( debug_box3d box)

◆ debug_box3d_load()

KAPI b8 debug_box3d_load ( debug_box3d box)

◆ debug_box3d_parent_set()

KAPI void debug_box3d_parent_set ( debug_box3d box,
khandle  parent_xform 
)

◆ debug_box3d_points_set()

KAPI void debug_box3d_points_set ( debug_box3d box,
vec3  points[8] 
)

◆ debug_box3d_render_frame_prepare()

KAPI void debug_box3d_render_frame_prepare ( debug_box3d box,
const struct frame_data p_frame_data 
)

◆ debug_box3d_unload()

KAPI b8 debug_box3d_unload ( debug_box3d box)

◆ debug_box3d_update()

KAPI b8 debug_box3d_update ( debug_box3d box)