From cbfe9b855c11b1ef603b7212c244e089b4461753 Mon Sep 17 00:00:00 2001 From: Irene Knapp Date: Sat, 18 Jul 2026 04:10:00 -0700 Subject: draw a second square in order to test the depth buffer, which does not yet exist Force-Push: yes Change-Id: Ibb4c279ff8b83ad9c0c37897f623631c4e342fb0 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 2433a40..478a179 100644 --- a/src/main.rs +++ b/src/main.rs @@ -292,7 +292,7 @@ fn render_uniforms(device: &Device, device_memory: &vk::DeviceMemory, .rotate(&Vec3::new(0.0, 1.0, 0.0), time % TAU), translation: Vec3::new(0.0, 0.0, 0.0), }; - let view = Transformation::look_at(&Vec3::new(0.0, -1.0, -2.0), + let view = Transformation::look_at(&Vec3::new(0.0, -2.0, -2.0), &Vec3::new(0.0, 0.0, 0.0), &Vec3::new(0.0, -1.0, 0.0)); let aspect_ratio = extent.width as f32 / extent.height as f32; -- cgit 1.4.1