|
|
On Wed, 14 Jun 2000 09:15:30 -0700, "Matt Savard" <msa### [at] rainorg>
wrote:
>I am attempting to make a primitive particle generator in Visual Basic to
>create scenes for POV. My math being a bit rusty, I only have it working in
>2-D (x and y) I have all the write equations for making a particle travel in
>2-D at a certain angle, but what is the formula for the Z direction? For
>example, I know to travel at 30 degrees in 2-d, you take the
>speed*Sin(angle_in_radians) for x and speed*Cos(angle_in_radians) for y.
>What would Z be?
>
>Any help would be, well, helpful! :)
Just use vector math, it's so much easier.
Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG e-mail : pet### [at] tagpovrayorg
Post a reply to this message
|
|