Draw capsule in world space

This commit is contained in:
Irlan
2019-06-04 21:47:01 -03:00
parent 53e1f3a0be
commit b277b8b588
4 changed files with 15 additions and 13 deletions

View File

@ -110,8 +110,8 @@ public :
// Draw a capsule with segment, and radius.
virtual void DrawCapsule(const b3Vec3& p1, const b3Vec3& p2, float32 radius, const b3Color& color) = 0;
// Draw a solid capsule with local segment, radius, and transform.
virtual void DrawSolidCapsule(const b3Vec3& p1, const b3Vec3& p2, float32 radius, const b3Transform& transform, const b3Color& color) = 0;
// Draw a solid capsule with local segment, radius, and rotation.
virtual void DrawSolidCapsule(const b3Vec3& p1, const b3Vec3& p2, float32 radius, const b3Mat33& rotation, const b3Color& color) = 0;
// Draw a AABB.
virtual void DrawAABB(const b3AABB3& aabb, const b3Color& color) = 0;