Skip to content

Commit

Permalink
Added comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sonomirco committed Oct 3, 2021
1 parent 1c053a0 commit b5dc439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GShark/Geometry/NurbsSurface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ public static NurbsSurface Extruded(Vector3 direction, NurbsBase profile)

/// <summary>
/// Constructs a sweep surface with one rail curve.
/// <em>Follows the algorithm A10.2 at page 477 of The NURBS Book by Piegl and Tiller.</em>
/// </summary>
/// <param name="rail">The rail curve.</param>
/// <param name="profile">The section curve.</param>
Expand All @@ -244,7 +245,6 @@ public static NurbsSurface FromSweep(NurbsBase rail, NurbsBase profile)
{
var (tValues, _) = Sampling.Curve.AdaptiveSample(rail, GSharkMath.MaxTolerance);
List<Plane> frames = rail.PerpendicularFrames(tValues);

List<NurbsBase> curves = new List<NurbsBase> {profile};

foreach (Plane frame in frames.Skip(1))
Expand Down

0 comments on commit b5dc439

Please sign in to comment.