Post #2797232
2026-04-14 16:29 UTC
@lisyarus@mastodon.gamedev.place I had one client who had operator== on their Vector3 class overloaded with a non-zero epsilon.
Can you imagine how a std::unordered_map behaves if the equality operator might pick up the wrong element? That's fun to debug.
Replies (1)
-
@lisyarus@mastodon.gamedev.place 2026-04-14 16:31
@artificialmind@fosstodon.org That's nightmare fuel