diff --git a/Plugins/BezierSolution/BezierSpline.cs b/Plugins/BezierSolution/BezierSpline.cs index a7ed95b..f4b3ee5 100644 --- a/Plugins/BezierSolution/BezierSpline.cs +++ b/Plugins/BezierSolution/BezierSpline.cs @@ -75,7 +75,7 @@ public SplineAutoConstructMode autoConstructMode } } } - + private Vector3[] autoConstructedSplineRhs; private Vector3[] autoConstructedSplineControlPoints; private float[] autoConstructedSplineTmp; @@ -1059,7 +1059,7 @@ public void AutoConstructSpline() autoConstructedSplineControlPoints = new Vector3[rhsLength]; // Solution vector if( autoConstructedSplineTmp == null || rhsLength != autoConstructedSplineTmp.Length ) autoConstructedSplineTmp = new float[rhsLength]; // Temp workspace - + for( int i = 1; i < n - 1; i++ ) autoConstructedSplineRhs[i] = 4 * endPoints[i].position + 2 * endPoints[i + 1].position; @@ -1504,4 +1504,4 @@ internal void Reset() } #endif } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 71f438b..446bf4b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.yasirkula.beziersolution", "displayName": "Bezier Solution", - "version": "2.3.1", + "version": "2.3.2", "documentationUrl": "https://github.com/yasirkula/UnityBezierSolution", "changelogUrl": "https://github.com/yasirkula/UnityBezierSolution/releases", "licensesUrl": "https://github.com/yasirkula/UnityBezierSolution/blob/master/LICENSE.txt",