Fix build

This commit is contained in:
Wojtek Figat
2025-10-08 23:24:15 +02:00
parent 65cf59642c
commit ef2c551cee
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ public:
{
}
};
#define ImplementPhysicsDebug void DrawPhysicsDebug(RenderView& view)
#define ImplementPhysicsDebug void DrawPhysicsDebug(RenderView& view) override
#else
#define ImplementPhysicsDebug
#endif

View File

@@ -118,7 +118,7 @@ void BoxCollider::OnDebugDrawSelf()
Vector3 corners[8];
_bounds.GetCorners(corners);
const float margin = Math::Min(1.0f, _bounds.GetSize().MinValue() * 0.01f);
const float margin = Math::Min(1.0f, (float)_bounds.GetSize().MinValue() * 0.01f);
const Color wiresColor = color.AlphaMultiplied(0.6f);
if (margin > 0.05f)
{