Skip to content

Commit

Permalink
FINALLY GOT COLLISIONS WORKING MF
Browse files Browse the repository at this point in the history
MF FUCK LIMITS FUCK NEGATIVE INVERSE FUNCTION F*CK STL
  • Loading branch information
Jukitsu committed Nov 26, 2023
1 parent 569d991 commit 3ee3588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jukcraft/src/models/Collider.h
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ namespace Jukcraft {
auto time = [](float x, float y) {
if (y)
return x / y;
return x > 0 ? std::numeric_limits<float>::min() : std::numeric_limits<float>::max();
return -sign(x) * std::numeric_limits<float>::infinity();
};


0 comments on commit 3ee3588

Please sign in to comment.