Example #1
0
 public static vec2 Curve(vec2 target, vec2 old, float smoothing)
 {
     return(new vec2(math1.Curve(target.x, old.x, smoothing), math1.Curve(target.y, old.y, smoothing)));
 }
Example #2
0
 public void AddUv(vec2 u)
 {
     uvs.Add(u);
 }
Example #3
0
 public static vec2 FromTo(vec2 from, vec2 to)
 {
     return(to - from);
 }