fix
This commit is contained in:
commit
e313656757
@ -1,14 +1,19 @@
|
||||
#ifndef ENGINE_HPP
|
||||
#define ENGINE_HPP
|
||||
|
||||
#include "core.hpp"
|
||||
#include "shader.hpp"
|
||||
#include "player_camera.hpp"
|
||||
|
||||
namespace b3d{
|
||||
|
||||
class Engine {
|
||||
private:
|
||||
GLFWwindow* window;
|
||||
// settings
|
||||
//const unsigned int SCR_WIDTH = 800;
|
||||
//const unsigned int SCR_HEIGHT = 600;
|
||||
|
||||
// camera
|
||||
Camera camera;
|
||||
|
||||
// timing
|
||||
@ -23,6 +28,6 @@ namespace b3d{
|
||||
void render();
|
||||
void update();
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
#endif // ENGINE_HPP
|
@ -2,7 +2,9 @@
|
||||
#define CAMERA_H
|
||||
|
||||
#include "core.hpp"
|
||||
|
||||
#include <GL/glew.h>
|
||||
#include <glm/glm.hpp>
|
||||
#include <glm/gtc/matrix_transform.hpp>
|
||||
|
||||
namespace b3d{
|
||||
enum Camera_Movement {
|
||||
|
Loading…
x
Reference in New Issue
Block a user