summaryrefslogtreecommitdiff
path: root/examples/primitives
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-06-15 16:38:05 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-06-15 16:38:05 +1000
commitc5808488875484aca814bfc8e526f37f3f447166 (patch)
treee560bc86302fad0c8520140511e1994c2b4800d7 /examples/primitives
parent59f67f04d7238453da766218a37b3c78607fb122 (diff)
shinchoku
Diffstat (limited to 'examples/primitives')
-rw-r--r--examples/primitives/ex_primitives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/primitives/ex_primitives.c b/examples/primitives/ex_primitives.c
index 8ce2bf2..2109215 100644
--- a/examples/primitives/ex_primitives.c
+++ b/examples/primitives/ex_primitives.c
@@ -50,7 +50,7 @@ int main() {
.scale = 1.0 };
mat4 sphere_model = transform_to_mat(&transform);
- mat4 cube_model = mat4_translation(vec3(-2.,0,0));
+ mat4 cube_model = mat4_translation(vec3(-2., 0, 0));
draw_mesh(&cube, &cube_model, &cam);
draw_mesh(&sphere, &sphere_model, &cam);