summaryrefslogtreecommitdiff
path: root/src/maths/maths.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 21:46:10 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 21:46:10 +1100
commit2c55e9a73ae1321c14f5186ecc75ac949ad19bbd (patch)
tree33a895539862b74cbad083df7dae603ce3737390 /src/maths/maths.h
parentf7b91c2eae24ecb7a20b638246fb849d6c63615a (diff)
chore: format
Diffstat (limited to 'src/maths/maths.h')
-rw-r--r--src/maths/maths.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/maths/maths.h b/src/maths/maths.h
index baa75e9..6fbdfdf 100644
--- a/src/maths/maths.h
+++ b/src/maths/maths.h
@@ -49,9 +49,7 @@ static inline vec3 vec3_cross(vec3 a, vec3 b) {
#define VEC3_Z ((vec3){ .x = 0.0, .y = 0.0, .z = 1.0 })
#define VEC3_NEG_Z ((vec3){ .x = 0.0, .y = 0.0, .z = -1.0 })
-static inline void print_vec3(vec3 v) {
- printf("{ x: %f, y: %f, z: %f )\n", v.x, v.y, v.z);
-}
+static inline void print_vec3(vec3 v) { printf("{ x: %f, y: %f, z: %f )\n", v.x, v.y, v.z); }
// TODO: Dimension 2
static inline vec2 vec2_create(f32 x, f32 y) { return (vec2){ x, y }; }