public void Apply() { this.cameraPosition = Bezier.PointOnCurve(this.ratio, this.point0, this.point1, this.point2, this.point3); this.elevationAngle = Mathf.Atan2(this.cameraPosition.x, this.cameraPosition.y); this.distanceToPivot = this.cameraPosition.magnitude; }