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"