#include <camera2d.h>
◆ Camera2D()
yage::Camera2D::Camera2D |
( |
int |
screen_width = 1280 , |
|
|
int |
screen_height = 720 |
|
) |
| |
◆ move()
void yage::Camera2D::move |
( |
const glm::vec2 & |
direction | ) |
|
◆ update()
◆ camera_matrix_
glm::mat4 yage::Camera2D::camera_matrix_ |
|
private |
◆ ortho_matrix_
glm::mat4 yage::Camera2D::ortho_matrix_ |
|
private |
◆ position_
glm::vec2 yage::Camera2D::position_ |
|
private |
◆ scale_
float yage::Camera2D::scale_ = 1 |
|
private |
◆ update_matrix_
bool yage::Camera2D::update_matrix_ = true |
|
private |
The documentation for this class was generated from the following files: