예제 #1
0
 public static RectFloat Offset(RectFloat rect, VectorFloat offset) =>
 Offset(rect, offset.x, offset.y);
예제 #2
0
 public PointAndTangentFloat(PointFloat point, VectorFloat tangent)
 {
     this.point   = point;
     this.tangent = tangent;
 }
예제 #3
0
 public static PointFloat Offset(PointFloat pt, VectorFloat offset) =>
 new PointFloat(pt.x + offset.x, pt.y + offset.y);