A community-maintained Python framework for creating mathematical animations.
Removed :class:`CameraFrame` (#2691)
Hamidreza Hashemia8bc854abe6e
diff --git a/manim/camera/moving_camera.py b/manim/camera/moving_camera.pyindex 581e3150e..22d6be22e 100644--- a/manim/camera/moving_camera.py+++ b/manim/camera/moving_camera.py@@ -8,25 +8,16 @@from __future__ import annotations-__all__ = ["CameraFrame", "MovingCamera"]+__all__ = ["MovingCamera"]from .. import configfrom ..camera.camera import Camera-from ..constants import DOWN, LEFT, ORIGIN, RIGHT, UP+from ..constants import DOWN, LEFT, RIGHT, UPfrom ..mobject.frame import ScreenRectanglefrom ..mobject.mobject import Mobject-from ..mobject.types.vectorized_mobject import VGroupfrom ..utils.color import WHITE-# TODO, think about how to incorporate perspective-class CameraFrame(VGroup):- def __init__(self, center=ORIGIN, **kwargs):- super().__init__(center=center, **kwargs)- self.width = config["frame_width"]- self.height = config["frame_height"]--class MovingCamera(Camera):"""Stays in line with the height, width and position of it's 'frame', which is a Rectangle