Returns the arccosine or inverse cosine in radians of

Basically, it is the inverse of cosine (

Example:

float cosine_return; float arccosine_return; cosine_return = llCos( 1 ); arccosine_return = llAcos( cosine_return ); llOwnerSay( "cosine_return = llCos( 1 ) == " + (string)cosine_return ); llOwnerSay( "arccosine_return = llACos( cosine_return ) == " + (string)arccosine_return );

This would result in the following:

cosine_return = llCos( 1 ) == 0.540302 arccosine_return = llACos( cosine_return ) == 1.000000

Compare with

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

Functions | Math

There is no comment on this page.
[Display comments/form]