andylatham82: just casting to a float
I am surprised that floating point maths is fast enough for a game.
...R