#pragma once #ifndef _FUNCS_HEADER_ #define _FUNCS_HEADER_ #include #include #include #include #include #include #include #include using namespace std::chrono_literals; extern unsigned int gridX, gridY, sizeX, sizeY; extern float* tileCoords; void framebuffer_size_callback(GLFWwindow* window, int width, int height); void processInput(GLFWwindow* window); float* makeGridPoints(unsigned int X=2, unsigned int Y=2); float* scaleGridPoints(unsigned int X, unsigned int Y, float ratioX, float ratioY, float* points); unsigned int* makeGridIndex(unsigned int X=2, unsigned int Y=2); #endif