3#ifndef GDK_GRAPHICS_SCREEN_CAMERA_H
4#define GDK_GRAPHICS_SCREEN_CAMERA_H
6#include <gdk/graphics/camera.h>
7#include <gdk/graphics/color.h>
8#include <gdk/graphics/types.h>
10namespace gdk::graphics {
20 const float aHeight) = 0;
26 const float aHeight) = 0;
28 virtual void clear_scissor() = 0;
a point of view a scene is drawn from. A camera starts at the origin looking down -Z,...
Definition camera.h:12
Position, orientation and perspective from which entity(s) are drawn.
Definition screen_camera.h:12
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 the window
virtual void set_scissor(const float aX, const float aY, const float aWidth, const float aHeight)=0
clip this camera to a rectangle of the window without moving what it draws