Skip to content

Commit a8bc854

Browse files
zzzzz1stbehacklnaveen521kk
authored
Removed :class:CameraFrame (#2691)
* Removed CameraFrame (#2689) * removed superfluous comment Co-authored-by: Benjamin Hackl <[email protected]> Co-authored-by: Naveen M K <[email protected]>
1 parent 7f5624e commit a8bc854

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

manim/camera/moving_camera.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,16 @@
88

99
from __future__ import annotations
1010

11-
__all__ = ["CameraFrame", "MovingCamera"]
11+
__all__ = ["MovingCamera"]
1212

1313
from .. import config
1414
from ..camera.camera import Camera
15-
from ..constants import DOWN, LEFT, ORIGIN, RIGHT, UP
15+
from ..constants import DOWN, LEFT, RIGHT, UP
1616
from ..mobject.frame import ScreenRectangle
1717
from ..mobject.mobject import Mobject
18-
from ..mobject.types.vectorized_mobject import VGroup
1918
from ..utils.color import WHITE
2019

2120

22-
# TODO, think about how to incorporate perspective
23-
class CameraFrame(VGroup):
24-
def __init__(self, center=ORIGIN, **kwargs):
25-
super().__init__(center=center, **kwargs)
26-
self.width = config["frame_width"]
27-
self.height = config["frame_height"]
28-
29-
3021
class MovingCamera(Camera):
3122
"""
3223
Stays in line with the height, width and position of it's 'frame', which is a Rectangle

0 commit comments

Comments
 (0)