예제 #1
0
 static public VectorI2 GetDeflated(this VectorF2 item, VectorF2 unit)
 {
     return(item.GetComponentDivide(unit).GetVectorI2());
 }
예제 #2
0
 static public VectorF2 GetComponentDivide(this VectorF2 item, VectorF2 other)
 {
     return(item.GetComponentDivide(other.x, other.y));
 }