|
Untitled
|
Go to the source code of this file.
Functions | |
| void | start_timer (Timer *t) |
| double | end_timer (Timer *t) |
| bool | mn_inside_of_root_tree (MeshNode *mns, int check_id, int id) |
| mat4 | compose_trs_from_mesh_node (MeshNode *mn) |
| void | PV_step_size (ProbeVolume *pv, vec3 *step_x, vec3 *step_y, vec3 *step_z) |
| MeshNode * | get_root_node (MeshNode *mns, MeshNode *mn) |
|
inline |
Definition at line 8 of file engine_utilities.h.
References Timer::freq, Timer::start, and start_timer().
Referenced by bake_lightmap(), main(), pathfind_audio_occlusion(), process_probe_chunk(), and start_timer().
|
inline |
Definition at line 13 of file engine_utilities.h.
References end_timer(), Timer::freq, and Timer::start.
Referenced by bake_lightmap(), end_timer(), main(), pathfind_audio_occlusion(), and process_probe_chunk().
| bool mn_inside_of_root_tree | ( | MeshNode * | mns, |
| int | check_id, | ||
| int | id ) |
Definition at line 5 of file engine_utilities.c.
References MeshNode::child_count, MeshNode::children, MeshNode::id, and mn_inside_of_root_tree().
Referenced by mn_inside_of_root_tree().
Definition at line 18 of file engine_utilities.h.
References compose_trs_from_mesh_node(), m4_mul(), mat4_from_quat(), mat4_scale(), mat4_translation(), MeshNode::rotation, MeshNode::scale, and MeshNode::translation.
Referenced by compose_trs_from_mesh_node(), compute_node_globals_recursive(), ESTATE_chair_interact(), execute_mesh_node_undo(), render_mn_menu(), update_node_global(), update_physics_components(), and update_scene_nodes().
|
inline |
Definition at line 27 of file engine_utilities.h.
References OBB::extents, ProbeVolume::obb, OBB_vectors(), PV_step_size(), ProbeVolume::resolution, OBB::rot, vec3_scale(), ivec3::x, vec3::x, ivec3::y, vec3::y, ivec3::z, and vec3::z.
Referenced by bake_audio_probe_volume(), bake_lighting_probe_volume(), and PV_step_size().
Definition at line 19 of file engine_utilities.c.
References get_root_node(), and MeshNode::parent.
Referenced by get_root_node(), and PC_traverse_scene_bvh().