summaryrefslogtreecommitdiff
path: root/src/maths
diff options
context:
space:
mode:
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 })