43 static std::shared_ptr<btCollisionShape>
46 static std::shared_ptr<btCollisionShape>
49 static std::shared_ptr<btCollisionShape>
52 static std::shared_ptr<btCollisionShape>
59 SBoxResource(
const btVector3& c_half_extents);
60 btVector3 HalfExtents;
61 std::shared_ptr<btBoxShape> Shape;
63 static std::vector<SBoxResource> m_vecBoxResources;
66 struct SCylinderResource {
67 SCylinderResource(
const btVector3& c_half_extents);
68 btVector3 HalfExtents;
69 std::shared_ptr<btCylinderShape> Shape;
71 static std::vector<SCylinderResource> m_vecCylinderResources;
74 struct SSphereResource {
75 SSphereResource(btScalar f_radius);
77 std::shared_ptr<btSphereShape> Shape;
79 static std::vector<SSphereResource> m_vecSphereResources;
82 struct SConvexHullResource {
83 SConvexHullResource(
const std::vector<btVector3>& vec_points);
84 std::vector<btVector3> Points;
85 std::shared_ptr<btConvexHullShape> Shape;
87 static std::vector<SConvexHullResource> m_vecConvexHullResources;