Returns the inverse cosine of val, where val is in degrees.


GML Code Example


Argument Description
x The angle (in degrees) to return the inverse cosine of.

Returns: Real


Returns the inverse cosine of x, in that if dcos(val)=n, darccos(n)=val, and the resulting number will be between 180 and 0.

NOTE: This will only accept a number between -1 and 1 (anything else will throw an error).


GML Code Example

val = arccos(-1);

This will set "val" to 180.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here