LSL Wiki Mirror 10-5-2006: DEG_TO_RAD

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
float DEG_TO_RAD

A constant used to convert from degrees to radians through multiplication.
The constant amounts to PI / 180.

Examples:
float radians = degrees * DEG_TO_RAD;

vector euler_rot = <45, 90, 0> * DEG_TO_RAD;

Compare with RAD_TO_DEG.


Constants | Rotations
There is no comment on this page. [Display comments/form]