Merge pull request #57 from anthonynorthrup314/master

Corrected partial_bezier_points
This commit is contained in:
Grant Sanderson
2017-12-09 14:04:11 -08:00
committed by GitHub

View File

@@ -182,7 +182,7 @@ def partial_bezier_points(points, a, b):
for i in range(len(points))
])
return np.array([
bezier(a_to_1[:i+1])(b)
bezier(a_to_1[:i+1])((b-a)/(1.-a))
for i in range(len(points))
])