예제 #1
0
 public static void AddOffset2D(this IHas <IQuboidLogic> quboid, double length, double width, int direction, int side)
 {
     if (side == 0)
     {
         quboid.AddOffset2D(length, 0, direction);
     }
     else
     {
         quboid.AddOffset2D(0, width, direction);
     }
 }