mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Merge pull request #57 from anthonynorthrup314/master
Corrected partial_bezier_points
This commit is contained in:
commit
5db6f3706f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue