gdk-graphics
0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
Loading...
Searching...
No Matches
include
gdk
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
10
namespace
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
gdk::camera
Definition
camera.h:10
gdk::screen_camera
Position, orientation and perspective from which entity(s) are drawn.
Definition
screen_camera.h:15
gdk::screen_camera::set_viewport
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
Generated by
1.13.2