mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
DEFAULT_CONFIG -> CONFIG
This commit is contained in:
@ -10,7 +10,7 @@ import progressbar
|
||||
from helpers import *
|
||||
|
||||
class Camera(object):
|
||||
DEFAULT_CONFIG = {
|
||||
CONFIG = {
|
||||
#background of a different shape will overwrite this
|
||||
"pixel_shape" : (DEFAULT_HEIGHT, DEFAULT_WIDTH),
|
||||
#this will be resized to match pixel_shape
|
||||
@ -177,7 +177,7 @@ class MovingCamera(Camera):
|
||||
Stays in line with the height, width and position
|
||||
of a given mobject
|
||||
"""
|
||||
DEFAULT_CONFIG = {
|
||||
CONFIG = {
|
||||
"aligned_dimension" : "width" #or height
|
||||
}
|
||||
def __init__(self, mobject, **kwargs):
|
||||
|
Reference in New Issue
Block a user