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
commit 5db6f3706f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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))
])