LibMMD.Motion.CameraMotion.CalculateBezierPoint(float, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3)

Here are the examples of the csharp api LibMMD.Motion.CameraMotion.CalculateBezierPoint(float, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3, UnityEngine.Vector3) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 View Source File : CameraMotion.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : x3bits

private static float CalculBezierPointByTwo(float t, Vector3 p1, Vector3 p2)
        {
            var p = CalculateBezierPoint(t, Vector3.zero, p1, p2, new Vector3(127, 127, 0));
            var a = p.y / 127.0f;
            return a;
        }