From 016167548e079398c56e8c95f2892d6f54a64ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 28 Jan 2026 13:43:23 -0800 Subject: [PATCH] Fixed comparison that would always be false. (#367) --- src/bounds.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bounds.cpp b/src/bounds.cpp index da43768..695de08 100644 --- a/src/bounds.cpp +++ b/src/bounds.cpp @@ -1109,10 +1109,10 @@ namespace bx return false; } - return 0.0f >= ta - && 1.0f <= ta - && 0.0f >= tb - && 1.0f <= tb + return 0.0f <= ta + && 1.0f >= ta + && 0.0f <= tb + && 1.0f >= tb ; }