25 lines
620 B
C
25 lines
620 B
C
#pragma once
|
|
#ifndef _FUNCS_HEADER_
|
|
#define _FUNCS_HEADER_
|
|
#include <glad/glad.h>
|
|
#include <GLFW/glfw3.h>
|
|
#include <glm/glm.hpp>
|
|
#include <glm/gtc/matrix_transform.hpp>
|
|
#include <glm/gtc/type_ptr.hpp>
|
|
|
|
extern glm::vec3 camPos;
|
|
extern glm::vec3 camDir;
|
|
extern glm::vec3 camUp;
|
|
extern float yaw, pitch, roll;
|
|
extern bool firstMouse;
|
|
extern const float mouseSensitivity;
|
|
|
|
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
|
|
|
|
void mouse_callback(GLFWwindow*, double xpos, double ypos);
|
|
|
|
void scroll_callback(GLFWwindow*, double xOffset, double yOffset);
|
|
|
|
void processInput(GLFWwindow* window);
|
|
|
|
#endif |