public UV Lerped(UV dest, float t) { float lerpedU = (dest.U - U) * t + U; float lerpedV = (dest.V - V) * t + V; return new UV(lerpedU, lerpedV); }
public Vertex(Vector3D position, Vector3D normal, Vector4D tangent, UV uv1, UV uv2, Color4 color) { Position = position; Normal = normal; Tangent = tangent; UV1 = uv1; UV2 = uv2; Color = color; }
public Vertex(Vertex vertex) { Position = vertex.Position; Normal = vertex.Normal; Tangent = vertex.Tangent; UV1 = vertex.UV1; UV2 = vertex.UV2; Color = vertex.Color; }
public UV(UV uv) { U = uv.U; V = uv.V; }