Tip: you can multiply with an inverse if you want to avoid division. So you can do *(1.0f/32) instead of hand calculating it first like *0.03125f. To me that makes it more readable and you can remove the comment with 1/32. The compiler will calculate it for you.
"Kudo posts if you have the same problem and kudo replies if the solution works.Click ""Accept as Solution"" if a reply solved your problem. If no solution was posted please answer with your own."