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