YAGE  0.02
Yet Another Game Engine
yage::Camera2D Class Reference

#include <camera2d.hpp>

Public Member Functions

 Camera2D (int screen_width=1280, int screen_height=720)
 
void update (GlslProgram &program)
 
void move (const glm::vec2 &direction)
 

Constructor & Destructor Documentation

◆ Camera2D()

yage::Camera2D::Camera2D ( int  screen_width = 1280,
int  screen_height = 720 
)

Member Function Documentation

◆ move()

void yage::Camera2D::move ( const glm::vec2 &  direction)

◆ update()

void yage::Camera2D::update ( GlslProgram program)

The documentation for this class was generated from the following files: