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