mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
Smattering of Bell and Wave work
This commit is contained in:
@ -338,6 +338,9 @@ class Mobject(object):
|
||||
def scale_to_fit_height(self, height):
|
||||
return self.rescale_to_fit(height, 1, stretch = False)
|
||||
|
||||
def scale_to_fit_depth(self, depth):
|
||||
return self.rescale_to_fit(depth, 2, stretch = False)
|
||||
|
||||
def space_out_submobjects(self, factor = 1.5, **kwargs):
|
||||
self.scale_in_place(factor)
|
||||
for submob in self.submobjects:
|
||||
|
Reference in New Issue
Block a user