sin()
Math / TrigonometryDescription
Calculates the sine of an angle in radians.
Syntax
float sin(float angle)
Parameters
| Name | Type | Description |
|---|---|---|
| angle | float | angle in radians |
Returns
floatRelated
Under the Hood
From Processing.h:
static float sin(float x) { return std::sin(x); }
static float sin(float x) { return std::sin(x);