Implemented bounding spheres for objects

This commit is contained in:
bijan2005 2020-12-08 11:22:56 -05:00
parent 4596c117df
commit 14f1ed2a31
9 changed files with 234 additions and 17 deletions

View file

@ -30,6 +30,7 @@ pub struct Color {
_private: () // Private field prevents direct construction
}
#[allow(dead_code)]
impl Color {
pub fn new(red: f32, green: f32, blue: f32) -> Self {
Color {