public static FixVector2D VectorSubtract(FixVector2D F1, FixVector2D F2) { FixVector2D result; result.X = F1.X - F2.X; result.Y = F1.Y - F2.Y; return(result); }
public static FixVector2D VectorDivide(FixVector2D F1, int Divisor) { FixVector2D result; result.X = F1.X / (Fix64)Divisor; result.Y = F1.Y / (Fix64)Divisor; return(result); }
public static FixVector2D VectorAdd(FixVector2D F1, FixVector2D F2) { FixVector2D result; result.X = F1.X + F2.X; result.Y = F1.Y + F2.Y; return(result); }