Don't click here unless you want to be banned.

LSL Wiki : DEG_TO_RAD

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
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]