Add FRAME_SHAPE constant

This commit is contained in:
Grant Sanderson
2023-01-30 11:57:01 -08:00
parent 15d8ebb572
commit 285953b44d
2 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,7 @@ if TYPE_CHECKING:
ASPECT_RATIO: float = 16.0 / 9.0
FRAME_HEIGHT: float = 8.0
FRAME_WIDTH: float = FRAME_HEIGHT * ASPECT_RATIO
FRAME_SHAPE: tuple[float, float] = (FRAME_WIDTH, FRAME_HEIGHT)
FRAME_Y_RADIUS: float = FRAME_HEIGHT / 2
FRAME_X_RADIUS: float = FRAME_WIDTH / 2