From 0173b63e19e908b6fcdc01a48edd192d9e5b65e6 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Sun, 8 Sep 2024 23:43:26 -0700 Subject: [PATCH] Add picture plane to circles in triangle --- app-proto/inversive-display/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-proto/inversive-display/src/main.rs b/app-proto/inversive-display/src/main.rs index 8afe8ef..c3b4a59 100644 --- a/app-proto/inversive-display/src/main.rs +++ b/app-proto/inversive-display/src/main.rs @@ -123,6 +123,7 @@ fn push_low_curv_construction( // push spheres let a = 0.75_f64.sqrt(); sphere_vec.push(construction_to_world * engine::sphere(0.0, 0.0, 0.0, 1.0)); + sphere_vec.push(construction_to_world * engine::sphere_with_offset(0.0, 0.0, 1.0, 0.0, 0.0)); sphere_vec.push(construction_to_world * engine::sphere_with_offset(1.0, 0.0, 0.0, off1, curv1)); sphere_vec.push(construction_to_world * engine::sphere_with_offset(-0.5, a, 0.0, off2, curv2)); sphere_vec.push(construction_to_world * engine::sphere_with_offset(-0.5, -a, 0.0, off3, curv3)); @@ -132,6 +133,7 @@ fn push_low_curv_construction( // push colors color_vec.push([0.75_f32, 0.75_f32, 0.75_f32]); + color_vec.push([0.75_f32, 0.75_f32, 0.75_f32]); color_vec.push([1.00_f32, 0.00_f32, 0.25_f32]); color_vec.push([0.25_f32, 1.00_f32, 0.00_f32]); color_vec.push([0.00_f32, 0.25_f32, 1.00_f32]);