summaryrefslogtreecommitdiff
path: root/src/maths
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-10 13:24:05 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-10 13:24:05 +1000
commitf7944239b793d1d5c49336856965d3a793f99316 (patch)
tree2effd38a16a15aee505eb8c27a231dfbe35c822a /src/maths
parent3a0557d98ba311b031ad53ceb8fc6025013f65dc (diff)
make core a static and add a default scene to it
Diffstat (limited to 'src/maths')
-rw-r--r--src/maths/maths_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/maths/maths_types.h b/src/maths/maths_types.h
index aa86eb0..5ef09db 100644
--- a/src/maths/maths_types.h
+++ b/src/maths/maths_types.h
@@ -61,6 +61,7 @@ typedef struct transform {
f32 scale;
bool is_dirty;
} transform;
+typedef transform transform3d;
typedef struct vec4i {
i32 x, y, z, w;
@@ -99,4 +100,4 @@ typedef struct vec2 f32x2;
#define f32x2(x, y) ((f32x2){ x, y })
typedef struct vec3 f32x3;
-#define f32x3(x, y, z) ((f32x3){ x, y, z }) \ No newline at end of file
+#define f32x3(x, y, z) ((f32x3){ x, y, z })