Draw solid stuff inside b3World

This commit is contained in:
Irlan
2019-06-04 20:56:51 -03:00
parent 43085c8cc1
commit 56db3517f9
10 changed files with 165 additions and 218 deletions

View File

@ -85,7 +85,7 @@ public:
void DrawSphere(const b3Vec3& center, float32 radius, const b3Color& color);
void DrawSolidSphere(const b3Vec3& center, float32 radius, const b3Color& color);
void DrawSolidSphere(const b3Vec3& center, float32 radius, const b3Mat33& rotation, const b3Color& color);
void DrawCapsule(const b3Vec3& p1, const b3Vec3& p2, float32 radius, const b3Color& color);
@ -105,18 +105,6 @@ public:
void DrawString(const b3Color& color, const char* string, ...);
void DrawSolidSphere(const b3SphereShape* s, const b3Color& c, const b3Transform& xf);
void DrawSolidCapsule(const b3CapsuleShape* s, const b3Color& c, const b3Transform& xf);
void DrawSolidHull(const b3HullShape* s, const b3Color& c, const b3Transform& xf);
void DrawSolidMesh(const b3MeshShape* s, const b3Color& c, const b3Transform& xf);
void DrawSolidShape(const b3Shape* s, const b3Color& c, const b3Transform& xf);
void DrawSolidShapes(const b3World& world);
void Flush();
private:
friend struct DrawPoints;