Skip to content

Commit e49a65c

Browse files
Fix compilation warnings
1 parent a303610 commit e49a65c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

include/reactphysics3d/collision/shapes/AABB.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
// Libraries
3030
#include <reactphysics3d/mathematics/mathematics.h>
31-
#include <reactphysics3d/configuration.h>>
31+
#include <reactphysics3d/configuration.h>
3232

3333
/// ReactPhysics3D namespace
3434
namespace reactphysics3d {

include/reactphysics3d/utils/DebugRenderer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include <reactphysics3d/containers/Map.h>
3232
#include <reactphysics3d/mathematics/mathematics.h>
3333
#include <reactphysics3d/engine/EventListener.h>
34-
#include <string>
3534

3635
/// ReactPhysics3D namespace
3736
namespace reactphysics3d {
@@ -213,7 +212,7 @@ class DebugRenderer : public EventListener {
213212
uint32 colorShape, uint32 colorShapeNormals);
214213

215214
/// Draw the collision shape of a collider
216-
void drawCollisionShapeOfCollider(const Collider* collider, uint32 color);
215+
void drawCollisionShapeOfCollider(const Collider* collider);
217216

218217
public :
219218

src/utils/DebugRenderer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ void DebugRenderer::drawHeightFieldShape(const Transform& transform, const Heigh
428428
}
429429

430430
// Draw the collision shape of a collider
431-
void DebugRenderer::drawCollisionShapeOfCollider(const Collider* collider, uint32 color) {
431+
void DebugRenderer::drawCollisionShapeOfCollider(const Collider* collider) {
432432

433433
uint32 colorShape = mMapDebugItemWithColor[DebugItem::COLLISION_SHAPE];
434434
uint32 colorShapeNormals = mMapDebugItemWithColor[DebugItem::COLLISION_SHAPE_NORMAL];
@@ -519,7 +519,7 @@ void DebugRenderer::computeDebugRenderingPrimitives(const PhysicsWorld& world) {
519519
// If we need to draw the collision shape
520520
if (drawCollisionShape || drawCollisionShapeNormals) {
521521

522-
drawCollisionShapeOfCollider(collider, mMapDebugItemWithColor[DebugItem::COLLISION_SHAPE]);
522+
drawCollisionShapeOfCollider(collider);
523523
}
524524
}
525525
}

0 commit comments

Comments
 (0)