|
|
|
@ -49,6 +49,7 @@ template<> bool collides(const AbstractShape<2>& a, const AbstractShape<2>& b) { |
|
|
|
_c(Sphere, Sphere2D, Sphere, Sphere2D) |
|
|
|
_c(Sphere, Sphere2D, Sphere, Sphere2D) |
|
|
|
|
|
|
|
|
|
|
|
_c(InvertedSphere, InvertedSphere2D, Point, Point2D) |
|
|
|
_c(InvertedSphere, InvertedSphere2D, Point, Point2D) |
|
|
|
|
|
|
|
_c(InvertedSphere, InvertedSphere2D, Sphere, Sphere2D) |
|
|
|
|
|
|
|
|
|
|
|
_c(Cylinder, Cylinder2D, Point, Point2D) |
|
|
|
_c(Cylinder, Cylinder2D, Point, Point2D) |
|
|
|
_c(Cylinder, Cylinder2D, Sphere, Sphere2D) |
|
|
|
_c(Cylinder, Cylinder2D, Sphere, Sphere2D) |
|
|
|
@ -76,6 +77,7 @@ template<> bool collides(const AbstractShape<3>& a, const AbstractShape<3>& b) { |
|
|
|
_c(Sphere, Sphere3D, Sphere, Sphere3D) |
|
|
|
_c(Sphere, Sphere3D, Sphere, Sphere3D) |
|
|
|
|
|
|
|
|
|
|
|
_c(InvertedSphere, InvertedSphere3D, Point, Point3D) |
|
|
|
_c(InvertedSphere, InvertedSphere3D, Point, Point3D) |
|
|
|
|
|
|
|
_c(InvertedSphere, InvertedSphere3D, Sphere, Sphere3D) |
|
|
|
|
|
|
|
|
|
|
|
_c(Cylinder, Cylinder3D, Point, Point3D) |
|
|
|
_c(Cylinder, Cylinder3D, Point, Point3D) |
|
|
|
_c(Cylinder, Cylinder3D, Sphere, Sphere3D) |
|
|
|
_c(Cylinder, Cylinder3D, Sphere, Sphere3D) |
|
|
|
|