-
Notifications
You must be signed in to change notification settings - Fork 94
tan
Ryzom Core Wiki edited this page Jul 8, 2024
·
3 revisions
title: Tan description: published: true date: 2023-03-16T23:12:32.131Z tags: editor: markdown dateCreated: 2023-03-16T22:30:39.004Z
The tan native AI script function is used to calculate the tangent of an input value in radians.
(value: f)tan(input: f) // tan_f_f
- input (float): The input value in radians to calculate the tangent of.
- value (float): The tangent of the input value in radians.
(val)tan(1.0);
This example code calls the tan function with an input value of 1.0 and returns the calculated tangent as a float.