Add sky Plane.

This commit is contained in:
Bill Thiede 2018-08-12 21:23:19 -07:00
parent 197c6df4a4
commit e8d05eeaee

View File

@ -58,6 +58,23 @@ fn test_can_render_scene() {
blue: 0.3,
},
}),
Element::Plane(Plane {
origin: Point {
x: 0.0,
y: 0.0,
z: -20.0,
},
normal: Vector3 {
x: 0.0,
y: 0.0,
z: -1.0,
},
color: Color {
red: 0.2,
green: 0.3,
blue: 1.0,
},
}),
Element::Sphere(Sphere {
center: Point {
x: 2.0,