Exemplo n.º 1
0
 public static Vector3 ToVector3(this Float3 value)
 {
     return(new Vector3(value.x, value.y, value.z));
 }
Exemplo n.º 2
0
 public static Float3 Lerp(Float3 one, Float3 two, float lerpValue)
 {
     return(new Float3(Mathf.Lerp(one.x, two.x, lerpValue), Mathf.Lerp(one.y, two.y, lerpValue),
                       Mathf.Lerp(one.z, two.z, lerpValue)));
 }