A community-maintained Python framework for creating mathematical animations.
Various cleanup changes (#795)
Harry1ddb2791ceee
diff --git a/manim/camera/camera.py b/manim/camera/camera.pyindex cffbcb50b..4315a073d 100644--- a/manim/camera/camera.py+++ b/manim/camera/camera.py@@ -29,7 +29,7 @@ from ..utils.space_ops import get_normfrom ..utils.family import extract_mobject_family_members-class Camera(object):+class Camera:"""Base camera class.This is the object which takes care of what exactly is displayed@@ -1148,7 +1148,7 @@ class Camera(object):# NOTE: The methods of the following class have not been mentioned outside of their definitons.# Their DocStrings are not as detailed as preferred.-class BackgroundColoredVMobjectDisplayer(object):+class BackgroundColoredVMobjectDisplayer:def __init__(self, camera):"""Parametersdiff --git a/manim/camera/three_d_camera.py b/manim/camera/three_d_camera.pyindex 5cba4f9f2..f545e12eb 100644--- a/manim/camera/three_d_camera.py+++ b/manim/camera/three_d_camera.py@@ -8,16 +8,17 @@ import numpy as npfrom .. import configfrom ..camera.camera import Camerafrom ..constants import *-from ..mobject.three_d_utils import get_3d_vmob_end_corner-from ..mobject.three_d_utils import get_3d_vmob_end_corner_unit_normal-from ..mobject.three_d_utils import get_3d_vmob_start_corner-from ..mobject.three_d_utils import get_3d_vmob_start_corner_unit_normal+from ..mobject.three_d_utils import (+ get_3d_vmob_end_corner,+ get_3d_vmob_end_corner_unit_normal,+ get_3d_vmob_start_corner,+ get_3d_vmob_start_corner_unit_normal,+)from ..mobject.types.point_cloud_mobject import Pointfrom ..mobject.value_tracker import ValueTrackerfrom ..utils.color import get_shaded_rgb-from ..utils.space_ops import rotation_about_z-from ..utils.space_ops import rotation_matrixfrom ..utils.family import extract_mobject_family_members+from ..utils.space_ops import rotation_about_z, rotation_matrixclass ThreeDCamera(Camera):