public static GmfVec operator /(GmfVec left, float div) { GmfVec v = new GmfVec(); v.X = left.X / div; v.Y = left.Y / div; return(v); }
public static GmfVec operator *(GmfVec left, float mult) { GmfVec v = new GmfVec(); v.X = left.X * mult; v.Y = left.Y * mult; return(v); }
public static GmfVec operator +(GmfVec left, GmfVec right) { GmfVec v = new GmfVec(); v.X = left.X + right.X; v.Y = left.Y + right.Y; return(v); }
public static GmfVec operator *(float mult, GmfVec right) { GmfVec v = new GmfVec(); v.X = right.X * mult; v.Y = right.Y * mult; return(v); }
public GmfVec(GmfVec v) { X = v.X; Y = v.Y; }