-
Notifications
You must be signed in to change notification settings - Fork 94
sin
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Sin description: published: true date: 2023-03-16T23:11:43.775Z tags: editor: markdown dateCreated: 2023-03-16T22:29:36.912Z
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
.