mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-05 20:42:10 +01:00
22 lines
272 B
C++
22 lines
272 B
C++
#ifndef CAMERA_H
|
|
#define CAMERA_H
|
|
|
|
#include <SDL.h>
|
|
|
|
#include "core/rect2.h"
|
|
|
|
class Camera {
|
|
public:
|
|
void bind();
|
|
|
|
Camera();
|
|
virtual ~Camera();
|
|
|
|
bool integer_scaling;
|
|
float scale_w;
|
|
float scale_h;
|
|
Rect2 viewport;
|
|
Rect2 clip_rect;
|
|
};
|
|
|
|
#endif |