Пример #1
0
 public static IVertex lerp(IVertex start, IVertex end, float delta)
 {
     return(new IVertex()
     {
         position = Int3.lerp(start.position, end.position, delta),
         normal = Float3.lerp(start.normal, end.normal, delta),
         color = start.color.lerpTo(end.color, delta),
         uv = Float2.lerp(start.uv, end.uv, delta),
     });
 }