io.github.srs.model.entity.Orientation
See theOrientation companion trait
Companion object for Orientation, providing a factory method.
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Creates a new Orientation instance from an angle in degrees.
Creates a new Orientation instance from an angle in degrees.
Value parameters
-
degree
-
the angle in degrees.
Attributes
-
Returns
-
a new Orientation representing the given angle.
Creates a new Orientation instance from an angle in radians.
Creates a new Orientation instance from an angle in radians.
Value parameters
-
radians
-
the angle in radians.
Attributes
-
Returns
-
a new Orientation representing the given angle.