[Bf-python] Good old euler problem

Stephen Swaney sswaney at centurytel.net
Thu Feb 22 20:55:36 CET 2007


On Thu, Feb 22, 2007 at 01:04:09PM -0500, Joseph Gilbert wrote:

> The Euler needs to define how it is constructed so we know we are working  
> with radians or degrees.
> 
> e = Euler(1,2,3)
> m = Euler.toMatrix()
> 
> was e in radians or degrees? The calculation of the matrix probably  
> depends on knowing this.

This was what I meant when I said having radians/degrees as internal
state would get ugly quick.

As Martin says, the simplest solution is radians, radians and more
radians.

-- 
Stephen Swaney			
sswaney at centurytel.net




More information about the Bf-python mailing list