summaryrefslogtreecommitdiff
path: root/examples/cube
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-05-19 00:04:31 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-05-19 00:04:31 +1000
commitebee348781e68e61f97c31411512dc0aabab7acb (patch)
tree2ce223f1ed3c60cdf617f319e8638eeea58e5d77 /examples/cube
parentb1b2d988e8f2fa3b0f63ff3aeb02849497433647 (diff)
chore: fmt
Diffstat (limited to 'examples/cube')
-rw-r--r--examples/cube/ex_cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cube/ex_cube.c b/examples/cube/ex_cube.c
index 346dd10..80a4e26 100644
--- a/examples/cube/ex_cube.c
+++ b/examples/cube/ex_cube.c
@@ -48,7 +48,7 @@ int main() {
vec3 camera_front = vec3_normalise(vec3_negate(camera_pos));
camera cam = camera_create(camera_pos, camera_front, VEC3_Y, deg_to_rad(45.0));
- vertex_description vertex_input = {.use_full_vertex_size = true};
+ vertex_description vertex_input = { .use_full_vertex_size = true };
vertex_input.debug_label = "Standard Static 3D Vertex Format";
vertex_desc_add(&vertex_input, "inPosition", ATTR_F32x3);
vertex_desc_add(&vertex_input, "inNormal", ATTR_F32x3);