rapier icon indicating copy to clipboard operation
rapier copied to clipboard

Remove usage of magic numbers in DynamicRaycastVehicleController

Open JohnTheCoolingFan opened this issue 2 years ago • 0 comments

Usage of magic numbers is discouraged in rust in favor of enums. I've replaced magic numbers that denote axes with an enum that can be converted to an integer when needed. The enum uses less bytes and does not allow invalid states.

JohnTheCoolingFan avatar Jun 29 '23 18:06 JohnTheCoolingFan