vabold / Kinoko

A reimplementation of Mario Kart Wii's physics engine in C++
MIT License
46 stars 10 forks source link

Prism preload #162

Closed malleoz closed 1 month ago

malleoz commented 1 month ago

Closes #161.

This results in an approximately 30% speedup on my machine.

I got rid of m_prismCount since it isn't used anymore outside of preloading. I also made sure that in checkCollision we retrieve the prisms and normals as references.