From f8641a5cc4c8baf1f0a7be3685afc219d90143d9 Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Wed, 17 Jul 2024 14:45:31 +1000 Subject: whole thing is compiling and running again --- src/maths/maths.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/maths/maths.h') diff --git a/src/maths/maths.h b/src/maths/maths.h index 76790ea..930ee0a 100644 --- a/src/maths/maths.h +++ b/src/maths/maths.h @@ -21,7 +21,7 @@ // --- Vector Implementations // Dimension 3 -static inline Vec3 vec3_create(f32 x, f32 y, f32 z) { return (Vec3){ x, y, z }; } +PUB static inline Vec3 vec3_create(f32 x, f32 y, f32 z) { return (Vec3){ x, y, z }; } #define vec3(x, y, z) ((Vec3){ x, y, z }) static inline Vec3 vec3_add(Vec3 a, Vec3 b) { return (Vec3){ a.x + b.x, a.y + b.y, a.z + b.z }; } static inline Vec3 vec3_sub(Vec3 a, Vec3 b) { return (Vec3){ a.x - b.x, a.y - b.y, a.z - b.z }; } -- cgit v1.2.3-70-g09d2