radians()
Math / TrigonometryDescription
Converts a degree measurement to its corresponding value in radians.
Syntax
float radians(float d)
Parameters
| Name | Type | Description |
|---|---|---|
| d | float | angle in degrees |
Returns
floatRelated
Under the Hood
From Processing.h:
static float radians(float d) { return d*PI/180.f; }