Returns new axes.
Name | Type | Description |
---|---|---|
origin |
Point |
The point of axes origin. |
degree |
Number |
the rotation of the coordinate system relative |
Members
-
Returns the rotation angle of the coordinate system relative
to the original coordinate system. -
Returns a point of axes origin.
-
Returns x-axis vector2 of this axes.
-
Returns y-axis vector2 of this axes.
Methods
-
Returns the coordinate of the point in this axes.
Name Type Description point
Point The point.
-
reAxes ()Axes
-
Returns the inverse coordinate system of the current coordinate system.
Returns:
Type Description Axes -
shadow (vector2)Vector2
-
Returns the projection of a vector2 in the current coordinate system.
Name Type Description vector2
Vector2 The vector2.
Returns:
Type Description Vector2