Just tested my theory in VB on my simulator, and indeed you only need sin (or cos) lookup table for 1/4 of a circle and the PolarToCartesian does then allow you to scale clock face and hands.
I multiplied the sin values by 4096 (maybe 256 is enough on smaller displays) to have an Integer lookup to do integer math with Radius. then divide result (power of 2 so a shift). -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
