diff options
author | Omni <omniscient.oce@gmail.com> | 2024-06-22 23:29:32 +1000 |
---|---|---|
committer | Omni <omniscient.oce@gmail.com> | 2024-06-22 23:29:32 +1000 |
commit | d20356fd426ccea1866fbda798864a378303bbbd (patch) | |
tree | a2a820e43671ba4022dc23c2462b52423f999f9b /examples | |
parent | 39e7122b5cd1e0d56a4a7cfd3c4114032d14e9b6 (diff) |
chore: format
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pbr_textured/ex_pbr_textured.c | 2 | ||||
-rw-r--r-- | examples/shadow_maps/ex_shadow_maps.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/pbr_textured/ex_pbr_textured.c b/examples/pbr_textured/ex_pbr_textured.c index fa1d555..cbb3a3e 100644 --- a/examples/pbr_textured/ex_pbr_textured.c +++ b/examples/pbr_textured/ex_pbr_textured.c @@ -98,7 +98,7 @@ int main() { encode_set_default_settings(enc); theta += 0.01; - transform transform = { .position = vec3(0,0,0), + transform transform = { .position = vec3(0, 0, 0), .rotation = quat_from_axis_angle(VEC3_Z, theta, true), .scale = 1.0 }; mat4 model_affine = transform_to_mat(&transform); diff --git a/examples/shadow_maps/ex_shadow_maps.c b/examples/shadow_maps/ex_shadow_maps.c index 1423d7a..3b647ee 100644 --- a/examples/shadow_maps/ex_shadow_maps.c +++ b/examples/shadow_maps/ex_shadow_maps.c @@ -41,7 +41,7 @@ int main() { mesh scene[5]; for (int i = 0; i < 4; i++) { - geometry_data geo = geo_create_cuboid(f32x3(2,2,2)); + geometry_data geo = geo_create_cuboid(f32x3(2, 2, 2)); cubes[i] = mesh_create(&geo, true); } @@ -81,7 +81,7 @@ int main() { end_renderpass() */ - + gpu_backend_end_frame(); } |