Skip to content

Commit

Permalink
fix PerpendicularFrames
Browse files Browse the repository at this point in the history
  • Loading branch information
devel0 committed Apr 12, 2023
1 parent e099514 commit 1fc2fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GShark/Geometry/NurbsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ public List<Plane> PerpendicularFrames(List<double> uValues)
var sNext = Vector3.CrossProduct(pointsOnCurveTan[i + 1], rNext); //compute vector s[i+1] of next frame

//create output frame
var frameNext = new Plane { Origin = pointsOnCurve[i + 1], XAxis = rNext, YAxis = sNext };
var frameNext = new Plane(pointsOnCurve[i + 1], rNext, sNext);
perpFrames[i + 1] = frameNext; //output frame
}

Expand Down

0 comments on commit 1fc2fe6

Please sign in to comment.