Exemplo n.º 1
0
 public static Quaternion CalculateRotationOffset(float weight, Vector3 extent)
 {
     return(Quaternion.Euler(Interpolate.Vector3(
                                 Vector3.zero,
                                 extent,
                                 weight)));
 }
Exemplo n.º 2
0
 public static Vector3 CalculateScaleOffset(float weight, Vector3 extent)
 {
     return(Interpolate.Vector3(
                Vector3.zero,
                extent,
                weight));
 }
Exemplo n.º 3
0
 public static Vector3 Vector3(Vector3 from, Vector3 to, float weight)
 {
     return(Interpolate.Vector3(InterpolateType.Standard, from, to, weight));
 }