mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Remove DEFAULT_FPS constant
It's a bit silly to have it's valued defined by camera_config, when it's only function is to be a default value for Camera's configuration
This commit is contained in:
@ -13,7 +13,6 @@ from manimlib.config import GLOBAL_CONFIG
|
||||
DEFAULT_RESOLUTION: tuple[int, int] = GLOBAL_CONFIG["camera"]["resolution"]
|
||||
DEFAULT_PIXEL_WIDTH: int = DEFAULT_RESOLUTION[0]
|
||||
DEFAULT_PIXEL_HEIGHT: int = DEFAULT_RESOLUTION[1]
|
||||
DEFAULT_FPS: int = GLOBAL_CONFIG["camera"]["fps"]
|
||||
|
||||
# Sizes relevant to default camera frame
|
||||
ASPECT_RATIO: float = DEFAULT_PIXEL_WIDTH / DEFAULT_PIXEL_HEIGHT
|
||||
|
Reference in New Issue
Block a user