math prob

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
smartwhiz
Posts: 120
Joined: Wed Jan 14, 2004 6:03 pm
Location: India

math prob

Post by smartwhiz »

how to find tan inverse of a value?
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

What you mean by "tan inverse of a value" ?
Tomasz Nowakowski
Openoko - www.openoko.pl
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

The best one for you to use is if you use the values as a float, it's probably what you will come across most though there are others for double's and long doubles. BTW, it is referred to as an arc tangant rather than an inverse tangant in programming. It can be called that in math as well but it is generally referred to as inverse. Just for reference, so you can find the fuction definitions on the net when you need to in future.

float angle = atanf(value);
The unholy
Posts: 31
Joined: Wed Dec 10, 2003 5:53 pm
Contact:

Post by The unholy »

:oops: I think there is no tan inverse in Poland!
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

Yep, that's true. We don't talk about functions inverse for sin, cos and tan only arc functions. That's where my confusion came from ;)
Tomasz Nowakowski
Openoko - www.openoko.pl
Post Reply