Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun of(direction: Vector2D): Rotation2D

Creates a Rotation2D which is defined from the x axis to the given direction vector.

fun of(angleDegree: Double): Rotation2D

Create a Rotation2D from an angle provided in degrees.