Add sphere-point collision check
This commit is contained in:
parent
5a22d09e47
commit
93cc1b4d02
@ -222,10 +222,7 @@ namespace egn{
|
||||
return false;
|
||||
}
|
||||
bool check_collision(const sphere& l, const point& r, float epsilon){
|
||||
(void)l;
|
||||
(void)r;
|
||||
(void)epsilon;
|
||||
return false;
|
||||
return math::fuzzy_eq(l.point1, r, l.radius + epsilon);
|
||||
}
|
||||
bool check_collision(const line_segment& l, const line_segment& r, float epsilon){
|
||||
(void)l;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user