mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 06:27:46 +00:00
Remove n_points_per_curve reference
This commit is contained in:
parent
5d7e923ac6
commit
8a08b62f7c
1 changed files with 1 additions and 2 deletions
|
|
@ -858,9 +858,8 @@ class FillArrow(Line):
|
|||
return self
|
||||
|
||||
def get_start(self) -> Vect3:
|
||||
nppc = self.n_points_per_curve
|
||||
points = self.get_points()
|
||||
return (points[0] + points[-nppc]) / 2
|
||||
return 0.5 * (points[0] + points[-3])
|
||||
|
||||
def get_end(self) -> Vect3:
|
||||
return self.get_points()[self.tip_index]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue