Aspiring Independant (a.k.a. not employed to do anything I should mention here) Massachusetts born, Yorkshire based builderGeek.

Report RSS navigational errors creep in

Posted by on

I have solved a floating point round off error by dividing instead of multiplying. When calculating the unit vector I was multiplying a (non-unit) vector by 1 over it's length. I was doing this because I had a multiplication method available. It seems that the use of two floating point operations (instead of just the one) lead to rounding errors creeping into my calculations.

Weird

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: