summaryrefslogtreecommitdiff
path: root/src/maths.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-17 21:44:44 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-17 21:44:44 +1100
commit70175cfce551a6b534771bd2b1dea6cfb417be1f (patch)
treef29381cde897b024ecb781ff63cd75c3a16f6434 /src/maths.c
parenta5f1733a09aa99379cf48ed326b4660fbc17cb25 (diff)
starting on cube
Diffstat (limited to 'src/maths.c')
-rw-r--r--src/maths.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/maths.c b/src/maths.c
index f12c852..95283e6 100644
--- a/src/maths.c
+++ b/src/maths.c
@@ -1,3 +1,5 @@
#include <celeritas.h>
vec3 vec3_create(f32 x, f32 y, f32 z) { return (vec3){ x, y, z }; }
+
+vec4 vec4_create(f32 x, f32 y, f32 z, f32 w) { return (vec4){ x, y, z , w }; } \ No newline at end of file