Re: [stella] Angular movement

Subject: Re: [stella] Angular movement
From: Glenn Saunders <mos6507@xxxxxxxxxxx>
Date: Thu, 15 Jan 2004 23:38:32 -0800
The Cold Fusion docs say to convert from radians to degrees using PI/180.

How dows it look now?

http://www.homebrewgames.net/thedig/tools/animation.cfm

It still looks off to me.


At 04:02 AM 1/15/2004, you wrote:
Glenn wrote:
> What am I doing wrong?

You are using the wrong base for sin/cos. Your calculations are
based on PI (rad) and not 360° (deg).

So you just have to multiply your angles with (PI/360).

Have fun!
Thomas
_______________________________________________________
Thomas Jentzsch         | *** Every bit is sacred ! ***
tjentzsch at web dot de |



























______________________________________________________________________________
Erdbeben im Iran: Zehntausende Kinder brauchen Hilfe. UNICEF hilft den
Kindern - helfen Sie mit! https://www.unicef.de/spe/spe_03.php

----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

---------------------------------------------------------------------------------------------- Archives (includes files) at http://www.biglist.com/lists/stella/archives/ Unsub & more at http://www.biglist.com/lists/stella/


Current Thread