From b7d38578a9e73f5f1655b3ce84dbc34ff4e4d754 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 7 Apr 2021 18:54:18 +0200 Subject: [PATCH] Camera uml. --- 20_sdl_camera.txt | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/20_sdl_camera.txt b/20_sdl_camera.txt index 9771dff..9b1d2fe 100644 --- a/20_sdl_camera.txt +++ b/20_sdl_camera.txt @@ -1,17 +1,18 @@ - -class Camera { -public: - void bind(); - - Camera(); - virtual ~Camera(); - - bool integer_scaling; - float scale_w; - float scale_h; - Rect2 viewport; - Rect2 clip_rect; +|---------------------------------------------------------------------------------------| +| class Camera | +|---------------------------------------------------------------------------------------| +| + void bind(); | +| | +| + Camera(); | +| + virtual ~Camera(); | +| | +| + bool integer_scaling; | +| + float scale_w; | +| + float scale_h; | +| + viewport; | +| + Rect2 clip_rect; | +|---------------------------------------------------------------------------------------| #include "camera.h"