From 922a5a0a7458f2d16301031c6a0595c5bd9ccb33 Mon Sep 17 00:00:00 2001 From: Irlan Date: Fri, 14 Jun 2019 10:46:22 -0300 Subject: [PATCH] Swap parameters --- include/bounce/common/draw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bounce/common/draw.h b/include/bounce/common/draw.h index 7a78162..bc5f1d9 100644 --- a/include/bounce/common/draw.h +++ b/include/bounce/common/draw.h @@ -96,10 +96,10 @@ public : virtual void DrawSolidCircle(const b3Vec3& normal, const b3Vec3& center, float32 radius, const b3Color& color) = 0; // Draw a plane with center, normal and radius. - virtual void DrawPlane(const b3Vec3& center, const b3Vec3& normal, float32 radius, const b3Color& color) = 0; + virtual void DrawPlane(const b3Vec3& normal, const b3Vec3& center, float32 radius, const b3Color& color) = 0; // Draw a solid plane with center, normal and radius. - virtual void DrawSolidPlane(const b3Vec3& center, const b3Vec3& normal, float32 radius, const b3Color& color) = 0; + virtual void DrawSolidPlane(const b3Vec3& normal, const b3Vec3& center, float32 radius, const b3Color& color) = 0; // Draw a sphere with center, and radius. virtual void DrawSphere(const b3Vec3& center, float32 radius, const b3Color& color) = 0;