sin - ryzom/ryzomcore GitHub Wiki
title: Sin description: published: true date: 2023-03-12T19:46:24.556Z tags: editor: markdown dateCreated: 2023-03-12T19:46:21.012Z
The sin native AI script function returns the sinus of the input value.
(y: f)sin(x: f) // sin_f_f
- x (float): The input value in radians.
- y (float): The sinus of the input value.
(y)sin(x);
This example code calls the sin function with an input value of x
and assigns the resulting sinus value to y
.