summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pbr_textured/ex_pbr_textured.c2
-rw-r--r--examples/shadow_maps/ex_shadow_maps.c4
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();
}