1 #ifndef GONG_PHYSICS_SPHERE_HPP_
2 #define GONG_PHYSICS_SPHERE_HPP_
5 #include "../geometry/primitive.hpp"
15 explicit Sphere(float radius);
17 /// Get geometric description of shape in world coordinates
18 geometry::Sphere Shape() {
19 return geometry::Sphere{ state.pos, radius };
23 void ReverseCollisionTest(Object &, std::vector<Contact> &) override;
24 void ActualCollisionTest(Sphere &, std::vector<Contact> &) override;