[Bf-python] Good old euler problem

Campbell Barton cbarton at metavr.com
Fri Feb 23 00:00:08 CET 2007


Agree, we can worry about converting them to degrees later, we know 
theres more then 1 way so no biggie.

Stephen Swaney wrote:
> 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.
> 


-- 
Campbell J Barton

133 Hope Street
Geelong West, Victoria 3218 Australia

URL:    http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241



More information about the Bf-python mailing list