formatting

This commit is contained in:
jacob 2025-01-21 13:28:08 -06:00
parent 75c9ff4dbd
commit d4387a873a

View File

@ -104,6 +104,20 @@ struct entity {
struct entity_handle first;
struct entity_handle last;
/* ====================================================================== */
/* Position */
/* Access with xform getters/setters */
struct xform local_xform; /* Transform in relation to parent entity (or the world if entity has no parent) */
struct xform cached_global_xform; /* Calculated from entity tree */
b32 cached_global_xform_dirty;
/* ====================================================================== */
/* Activation */
/* If 0, the entity will auto activate at start of next tick if not already active. */
u64 activation_tick;
/* ====================================================================== */
/* Layer */
@ -137,20 +151,6 @@ struct entity {
/* ENTITY_PROP_MOUSE_JOINT */
struct phys_mouse_joint mouse_joint_data;
/* ====================================================================== */
/* Activation */
/* If 0, the entity will auto activate at start of next tick if not already active. */
u64 activation_tick;
/* ====================================================================== */
/* Position */
/* Access with xform getters/setters */
struct xform local_xform; /* Transform in relation to parent entity (or the world if entity has no parent) */
struct xform cached_global_xform; /* Calculated from entity tree */
b32 cached_global_xform_dirty;
/* ====================================================================== */
/* Control */
@ -277,6 +277,7 @@ struct entity {
struct mixer_track_handle sound_handle;
/* ====================================================================== */
/* Camera */
/* ENTITY_PROP_CAMERA */
struct entity_handle camera_follow;