mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Moving some functions away from MovingCamera. Soon, all that should be default behavior of Camera
This commit is contained in:
parent
63e5f343a3
commit
e185b87195
1 changed files with 1 additions and 12 deletions
|
@ -8,18 +8,7 @@ from manimlib.mobject.types.vectorized_mobject import VGroup
|
||||||
from manimlib.utils.config_ops import digest_config
|
from manimlib.utils.config_ops import digest_config
|
||||||
|
|
||||||
|
|
||||||
# TODO, think about how to incorporate perspective
|
# Depricated?
|
||||||
class CameraFrame(VGroup):
|
|
||||||
CONFIG = {
|
|
||||||
"width": FRAME_WIDTH,
|
|
||||||
"height": FRAME_HEIGHT,
|
|
||||||
"center": ORIGIN,
|
|
||||||
}
|
|
||||||
|
|
||||||
def __init__(self, **kwargs):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class MovingCamera(Camera):
|
class MovingCamera(Camera):
|
||||||
"""
|
"""
|
||||||
Stays in line with the height, width and position of it's 'frame', which is a Rectangle
|
Stays in line with the height, width and position of it's 'frame', which is a Rectangle
|
||||||
|
|
Loading…
Add table
Reference in a new issue