-atan2(-phi,theta)
This looks *very* strange. An arc tangent of a quotient of angles?? Although it works out dimension-wise, I've never seen a quotient of angles in any formula.
Cheers -Gerhard
Think of them as distances, really. It was meant to be the X and Y component of the rotated Z axis projected along the XY plane. Think of the angles in radians and project the unit vector components. Maybe it's not correct, I did it very quick, but qualitatively it seemed to work, and quantitatively it seemed correct for the few angles I checked.
Jon
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
