public static Vector2d GetAngleVectorDeg(double degrees) { return(FlaiMath.GetAngleVector(FlaiMath.ToRadians(degrees))); }
public static Vector2f GetAngleVectorDeg(float degrees) { return(FlaiMath.GetAngleVector(FlaiMath.ToRadians(degrees))); }
public static float WrapAngleDeg(float angle) { return(FlaiMath.ToDegrees(FlaiMath.WrapAngle(FlaiMath.ToRadians(angle)))); }
// deg public static float ShortestAngleDistanceDeg(float angle1, float angle2) { return(FlaiMath.ToDegrees(FlaiMath.ShortestAngleDistance(FlaiMath.ToRadians(angle1), FlaiMath.ToRadians(angle2)))); }
private TransformedRectangleF(RectangleF rectangle, Vector2f origin, float rotation) { _rectangle = rectangle; _origin = origin; _rotation = FlaiMath.ToRadians(rotation); }
public static float ToRadians(this Direction2D direction) { return(FlaiMath.ToRadians(direction.ToDegrees())); }