mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
(slightly?) better name
This commit is contained in:
parent
601abf18f3
commit
85d2c2173d
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ class Mobject(object):
|
|||
def get_height(self):
|
||||
return self.length_over_dim(1)
|
||||
|
||||
def point_from_interval(self, alpha):
|
||||
def point_from_proportion(self, alpha):
|
||||
index = alpha*(self.get_num_points()-1)
|
||||
return self.points[index]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue