mirror of
https://github.com/3b1b/manim.git
synced 2026-04-26 03:00:23 -04:00
Fix Arrow.get_start
This commit is contained in:
@@ -636,7 +636,8 @@ class Arrow(Line):
|
||||
return self
|
||||
|
||||
def get_start(self):
|
||||
return (self.points[0] + self.points[-1]) / 2
|
||||
nppc = self.n_points_per_curve
|
||||
return (self.points[0] + self.points[-nppc]) / 2
|
||||
|
||||
def get_end(self):
|
||||
return self.points[self.tip_index]
|
||||
|
||||
Reference in New Issue
Block a user