Companion

object Companion

Functions

Link copied to clipboard
fun atan(value: Float): Angle

Returns the arc tangent of a given value.

Link copied to clipboard
fun atan2(y: Float, x: Float): Angle

Returns the arc tangent of a given value y/x.

Link copied to clipboard
fun fromDeg(deg: Float): Angle

Creates a new angle measure from the given measure in degrees.

Link copied to clipboard
fun fromRad(rad: Float): Angle

Creates a new angle measure from the given measure in radians.

Properties

Link copied to clipboard
val fullAngle: Angle

Angle measure of 360 degrees.

Link copied to clipboard
val nullAngle: Angle

Angle measure of 0 degrees.

Link copied to clipboard
val rightAngle: Angle

Angle measure of 90 degrees.

Link copied to clipboard
val straightAngle: Angle

Angle measure of 180 degrees.