On Wed, 1 Sep 2010, Ed Kelly wrote:
But, I have noticed a sinusoidal error with the graphics in my patch. So, here is the real thing!
[abs] just before [pow 2] is completely useless.
using pow(opposite/hypotenuse,2) as an angle to [tan] doesn't make any sense whatsoever.
what you need there is just opposite/adjacent, no square, no tan. the opposite/adjacent is already the tangent of an angle, and you don't need make that angle explicit at all.
even if you just compute that ratio with [/] and [swap], there is still a sign error in half of the cases (do you know how to fix this ?).
why do you need to shear two rectangles, instead of shearing a single, longer one ?
| Mathieu Bouchard ------------------------------ Villeray, Montréal, QC