Application prototype #14

Merged
glen merged 101 commits from app-proto into main 2024-10-21 23:38:28 +00:00
Showing only changes of commit 0173b63e19 - Show all commits

View File

@ -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]);