Пример #1
0
 def setup(self):
     Scene.setup(self)
     assert (isinstance(self.camera, MovingCamera))
     self.camera_frame = self.camera.frame
     # Hmm, this currently relies on the fact that MovingCamera
     # willd default to a full-sized frame.  Is that okay?
     return self
Пример #2
0
 def setup(self):
     Scene.setup(self)
     assert(isinstance(self.camera, MovingCamera))
     self.camera_frame = self.camera.frame
     # Hmm, this currently relies on the fact that MovingCamera
     # willd default to a full-sized frame.  Is that okay?
     return self
Пример #3
0
 def setup(self):
     """
     This method is used internally by Manim
     to set up the scene for proper use.
     """
     Scene.setup(self)
     assert (isinstance(self.camera, MovingCamera))
     self.camera_frame = self.camera.frame
     # Hmm, this currently relies on the fact that MovingCamera
     # willd default to a full-sized frame.  Is that okay?
     return self