Esempio n. 1
0
 static public VectorF2 BindBetween(this VectorF2 item, FloatRange range)
 {
     return(item.BindBetween(range, range));
 }
Esempio n. 2
0
 static public VectorF2 BindWithin(this VectorF2 item, RectF2 rect)
 {
     return(item.BindBetween(rect.min, rect.max));
 }
Esempio n. 3
0
 static public VectorF2 BindBetween(this VectorF2 item, FloatRange x_range, FloatRange y_range)
 {
     return(item.BindBetween(new VectorF2(x_range.x1, y_range.x1), new VectorF2(x_range.x2, y_range.x2)));
 }