TheAssemblyArmada / Thyme

An open source re-implementation of Generals : Zero Hour written in C++.
GNU General Public License v2.0
569 stars 54 forks source link

Refactor former unused variable in AABTreeClass::Cast_Semi_Infinite_Axis_Aligned_Ray_Recursive #1149

Closed xezon closed 1 week ago

xezon commented 2 weeks ago

I think we can write it like this and the compiler will bake it.

sign is now compile time so static will be gone. Multiplication will compile out.