ASGE
3.2.0
Simple Game Framework in GL
|
#include <Camera.hpp>
Public Attributes | |
float | min_x = 0.0F |
float | min_y = 0.0F |
float | max_x = 0.0F |
float | max_y = 0.0F |
A an orthogonal camera view struct.
The camera view class describes a bounding box that is used to map the game world to the camera’s lens. Objects outside of the the view will not be rendered. The camera view can be applied to the renderer during the drawing phase of the game. It’s possible to swap camera views during a render cycle. The easiest way to generate the view is to use a Camera class, assign it a width and height and update its focal point using
Definition at line 70 of file Camera.hpp.
float ASGE::Camera::CameraView::max_x = 0.0F |
The maximum x position to include
Definition at line 74 of file Camera.hpp.
float ASGE::Camera::CameraView::max_y = 0.0F |
The maximum y position to include
Definition at line 75 of file Camera.hpp.
float ASGE::Camera::CameraView::min_x = 0.0F |
The minimum x position to include
Definition at line 72 of file Camera.hpp.
float ASGE::Camera::CameraView::min_y = 0.0F |
The minimum y position to include
Definition at line 73 of file Camera.hpp.