Skip to content
lsl.devlsl.devLSL Dev

DEG_TO_RAD

constant
Constant
float DEG_TO_RAD = 0.017453293;

Constant 0.017453293 (precise value is PI/180). Multiply a value in degrees by this number to convert it to radians.

When multiplied by, converts a value in degrees to radians. Precise value is PI/180.

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from DEG TO RAD, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.