Don't click here unless you want to be banned.

LSL Wiki : llTan

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
float llTan(float theta)

Returns the tangent of theta radians.

Compare with llAtan2.

To get the Arc Tangent do this:
(In case you know all three sides of a triangle and need to know an angle)
float fTemp = opposite leg / adjacent leg
float fAtan = llAsin( fTemp / (llSqrt((llPow(fTemp ,2.0)+1.0))) );
Don't ask me, why this function wasn't included in LSL. :) -- Abdiel Nimbus

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Math
There is one comment on this page. [Display comments/form]