Rotates a point around (0,0) by an angle.
Namespace:
TouchScript.Utils.Geom
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static Vector2 Rotate(
Vector2 point,
float angle
)
Parameters
- point
- Type: Vector2
Point to rotate. - angle
- Type: SystemSingle
Angle in degrees to rotate by.
Return Value
Type:
Vector2Transformed point.
See Also