Hi there. I want to print values like that:
http://www.grc.nasa.gov/WWW/k-12/airplane/tabltan.html
Those are angles from tan. form 0 to infinity.
I know that using Mathf.Tan gives me values in radians and i have to feed in angles.
But values are wierd. I tried converting to degrees but they still are wrong.
Does anybody know how to get values form the link?
using code:
var rad : float = Mathf.Tan(2);
var deg : float = rad * Mathf.Rad2Deg;
Debug.Log(rad + " radians are equal to " + deg + " degrees.");