??? 01/16/08 15:24 Read: times |
#149566 - If you have cartesian coordinates ... Responding to: ???'s previous message |
Yes , I am also not sure how to do " sin²(alpha)" stuff with 8bitter , do you have any idea.
If you already have cartesian (i.e. x, y) coordinates, then no trigonometric functions are necessary to calculate the distance, just the simple Pythagorean equation a² = b² + c². Of course, if you need trigonometric functions for other reasons, there's lots of way to deal with that (tables, approximations, etc). Whether the processor is an 8-bitter or a 32-bitter doesn't really matter, the former can do pretty much every bit of math, although a bit slower. |