mirror of
https://github.com/3b1b/manim.git
synced 2025-08-19 13:01:00 +00:00
Formatting tweak
This commit is contained in:
parent
2b00a9cf80
commit
295a0f76cc
1 changed files with 2 additions and 2 deletions
|
@ -775,8 +775,8 @@ class VMobject(Mobject):
|
|||
return self.get_subpaths_from_points(self.get_points())
|
||||
|
||||
def get_nth_curve_points(self, n: int) -> Vect3Array:
|
||||
assert(n < self.get_num_curves())
|
||||
return self.get_points()[2 * n : 2 * n + 3]
|
||||
assert n < self.get_num_curves()
|
||||
return self.get_points()[2 * n:2 * n + 3]
|
||||
|
||||
def get_nth_curve_function(self, n: int) -> Callable[[float], Vect3]:
|
||||
return bezier(self.get_nth_curve_points(n))
|
||||
|
|
Loading…
Add table
Reference in a new issue