mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Remove whitespace
This commit is contained in:
parent
cd5c436ce4
commit
36ea70d990
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ class VMobject(Mobject):
|
||||||
# Information about the curve
|
# Information about the curve
|
||||||
def get_bezier_tuples_from_points(self, points: Vect3Array) -> Iterable[Vect3Array]:
|
def get_bezier_tuples_from_points(self, points: Vect3Array) -> Iterable[Vect3Array]:
|
||||||
n_curves = (len(points) - 1) // 2
|
n_curves = (len(points) - 1) // 2
|
||||||
return (points[2 * i : 2 * i + 3] for i in range(n_curves))
|
return (points[2 * i:2 * i + 3] for i in range(n_curves))
|
||||||
|
|
||||||
def get_bezier_tuples(self) -> Iterable[Vect3Array]:
|
def get_bezier_tuples(self) -> Iterable[Vect3Array]:
|
||||||
return self.get_bezier_tuples_from_points(self.get_points())
|
return self.get_bezier_tuples_from_points(self.get_points())
|
||||||
|
|
Loading…
Add table
Reference in a new issue