Rounding Errors in primitives?


RE: Rounding Errors in primitives?
#21
(2021-06-06, 11:49)Lasse Deleuran Wrote: But how can we figure out if it is wrong or not?

By doing it right and comparing.

  1. Compute the X and Z for the given angle using sin and cos and a radius of 1.
  2. Round each number to 4 decimal places.
  3. Multiply the rounded numbers by the desired radius.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Rounding Errors in primitives? - by Travis Cobbs - 2021-06-06, 23:16

Forum Jump:


Users browsing this thread: 1 Guest(s)