gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
Loading...
Searching...
No Matches
screen_camera.h
1// © Joseph Cameron - All Rights Reserved
2
3#ifndef GDK_GFX_SCREEN_CAMERA_H
4#define GDK_GFX_SCREEN_CAMERA_H
5
6#include <gdk/camera.h>
7#include <gdk/color.h>
8#include <gdk/graphics_types.h>
9
10namespace gdk {
15 class screen_camera : public camera {
16 public:
18 virtual void set_viewport(const float aX,
19 const float aY,
20 const float aWidth,
21 const float aHeight) = 0;
22
23 virtual ~screen_camera() = default;
24 };
25}
26
27#endif
28
Definition camera.h:10
Position, orientation and perspective from which entity(s) are drawn.
Definition screen_camera.h:15
virtual void set_viewport(const float aX, const float aY, const float aWidth, const float aHeight)=0
sets the normalized size and position of the viewport within of the window