Why Nostr? What is Njump?
2024-05-06 19:20:26

Yo Soy Freeman on Nostr: Ah, so they are creating a BVH with the AABB of all the colliders, increasing them by ...

Ah, so they are creating a BVH with the AABB of all the colliders, increasing them by the area of the capsule projected on each axis in order to reduce the calculation to a ray hitting a box and using division by zero to quickly check if some value approx infinity, in which case you can skip any calculation involving comparison between anything is bigger than infinite and nothing smaller than minus infinity.

Basically, they are saving compute because they are culling AF
Author Public Key
npub1fxa8tkvnflz8tfpnsmlj728fqu8g7547nlug9kjaf8xdzdl33q4sufd7pj