Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bgr committed Oct 12, 2018
1 parent 7332291 commit 3e65b9c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Assets/BezierCurves/Editor/BezierCurveEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public override void OnInspectorGUI()
Undo.RegisterCreatedObjectUndo(pointObject, "Add Point");

Vector3 direction;
Vector3 pos;
if (pointCount >= 1)
{
direction = (curve.GetAnchorPoints()[pointCount - 1].handle2 - curve.GetAnchorPoints()[pointCount - 1].handle1).normalized;
Expand Down

0 comments on commit 3e65b9c

Please sign in to comment.