struct Prism::Maths::Angle
- Prism::Maths::Angle
- Struct
- Value
- Object
Overview
Represents an angle value in the engine.
Defined in:
prism/maths/angle.crConstructors
-
.from_degrees(degrees) : Angle
Create an angle from degrees
-
.from_radians(radians) : Angle
Creates an angle from radians
- .new(angle : Float32)
Instance Method Summary
-
#radians : Float32
Returns the angle in radians
- #to_degrees