From cbcd40391c445afb836217a64e0bd96bc54cb805 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 17 Mar 2024 15:39:40 +1100 Subject: rendering using transforms --- src/maths/maths.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/maths') diff --git a/src/maths/maths.h b/src/maths/maths.h index 390b611..6834f69 100644 --- a/src/maths/maths.h +++ b/src/maths/maths.h @@ -203,7 +203,7 @@ static inline mat4 mat4_look_at(vec3 position, vec3 target, vec3 up) { .is_dirty = false }) static transform transform_create(vec3 pos, quat rot, f32 scale) { - return (transform){ .position = pos, .rotation = rot, .scale = scale, .is_dirty = false }; + return (transform){ .position = pos, .rotation = rot, .scale = scale, .is_dirty = true }; } static inline mat4 transform_to_mat(transform *tf) { -- cgit v1.2.3-70-g09d2