acos - ryzom/ryzomcore GitHub Wiki
title: Acos description: published: true date: 2023-03-12T23:15:05.265Z tags: editor: markdown dateCreated: 2023-03-12T23:15:01.770Z
The acos native AI script function returns the arccosine of a given input value.
(y: f)acos(x: f)
- x (float): The input value.
- y (float): The result of the arccosine operation.
(y)acos(0.5f);
This example code calculates the arccosine of 0.5 and stores the result in the variable y
.