Deg2Rad
- Parameters
-
degrees real
The degree input.
- comment
Converts degrees into radians. This is similar to multiplying the degree value by pi / 2.
- note
This is slightly more accurate than multiplying the degree value by
bj_PI / 2
.bj_PI
has a value of 3.14159. This native uses a pi value closer to 3.141592496.- pure
- This function is pure. For the same values passed to it, it will always return the same value.
- patch
1.00
- Source
- common.j
- return type
real
- Source code
native Deg2Rad takes real degrees returns real