From 73d71992f31a1d6156a743dcb740465bcb50645e Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 26 Feb 2023 19:39:24 +0100 Subject: [PATCH] Fix verbose compiler warning Just append 'f' to suppress verbose compiler warnings... --- r5dev/vphysics/physics_collide.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/vphysics/physics_collide.cpp b/r5dev/vphysics/physics_collide.cpp index 0e553fdc..be0afa4c 100644 --- a/r5dev/vphysics/physics_collide.cpp +++ b/r5dev/vphysics/physics_collide.cpp @@ -46,5 +46,5 @@ static float TriangleArea(const Vector3D& p0, const Vector3D& p1, const Vector3D Vector3D cross; CrossProduct(e0, e1, cross); - return 0.5 * cross.Length(); + return 0.5f * cross.Length(); }