Converts an angle expressed in degrees to radians.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public static float Deg2Rad(
float deg
)
Parameters
- deg
- Type: SystemSingle
An angle expressed in degrees.
Return Value
Type:
SingleThe same angle expressed in radians.
See Also