Implemented bounding spheres for objects
This commit is contained in:
parent
4596c117df
commit
14f1ed2a31
9 changed files with 234 additions and 17 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue