1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use std::f64;

use i_bound::BoundType;
use i_bound::IBound;
use i_shape::ShapeType;

#[derive(Debug, Clone)]
pub struct BoundSphere {
    //todo
}

impl BoundSphere {
    pub fn init(_shape_type: ShapeType, _vals: &[f64]) -> BoundSphere {
        BoundSphere {}
    }
}

impl IBound for BoundSphere {
    fn get_type(&self) -> BoundType {
        BoundType::Sphere
    }
    fn intersect(&self, _other: &dyn IBound) -> bool {
        unimplemented!();
    }
    fn get_shortest_separation(&self, _other: &dyn IBound) -> f64 {
        unimplemented!();
    }
    fn get_bound_data(&self) -> [f64; 32] {
        unimplemented!();
    }
    fn get_union(&mut self, _bounds: &[&dyn IBound]) {
        unimplemented!();
    }
    fn get_centroid(&self) -> [f64; 3] {
        unimplemented!();
    }
}

impl Default for BoundSphere {
    fn default() -> BoundSphere {
        unimplemented!();
    }
}