|
|
|
0 registered members (),
5,880
guests, and 3
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Trigonometry
[Re: vartan_s]
#77617
06/14/06 19:47
06/14/06 19:47
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Quote:
I'm having a little problem with my trigonometry. I can use it to find lengths, but how do I give it as a reciprocal so I can work out angles? I already searched the site for this.
For a reciprocal, just raise a value to a negative exponent:
some_var = pow(some_angle, -1); another_var = pow(some_angle, -0.5);
The top one takes the reciprocal of the variable, some_angle and the bottom one takes the square root of some_angle then gives the reciprocal. If some_angle was 4, you'd get 0.25 in the top one and 0.5 in the bottom one. I don't know if this is what you're after.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|
|
|
|