CollisionShape2TriangleMesh.h 461 B

12345678910
  1. #ifndef COLLISION_SHAPE_2_GRAPHICS_H
  2. #define COLLISION_SHAPE_2_GRAPHICS_H
  3. #include "LinearMath/btAlignedObjectArray.h"
  4. #include "LinearMath/btTransform.h"
  5. class btCollisionShape;
  6. void CollisionShape2TriangleMesh(btCollisionShape* collisionShape, const btTransform& parentTransform, btAlignedObjectArray<btVector3>& vertexPositions, btAlignedObjectArray<btVector3>& vertexNormals, btAlignedObjectArray<int>& indicesOut);
  7. #endif //COLLISION_SHAPE_2_GRAPHICS_H