Skip to content

Commit

Permalink
updated step size
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleli04 committed Feb 7, 2024
1 parent 3d7677e commit e0eef50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/tangent_vectors_geom_bspline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ std::vector<gp_Vec> calculate_tangent_vectors(const Handle(Geom_BSplineCurve)& b
gp_Vec tangentVector;
gp_Pnt point;
int knots = bsplineCurve->NbKnots();
Standard_Real step_size = knots / 100;
Standard_Real step_size = 1 / knots;
TColStd_Array1OfReal knotsArray(1, knots);
Standard_Real first_parameter = bsplineCurve->FirstParameter();
Standard_Real last_parameter = bsplineCurve->LastParameter();
Expand Down

0 comments on commit e0eef50

Please sign in to comment.