Application prototype #14
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user