<commit_before>#include <GL/glew.h>
#include <GLFW/glfw3.h>

#include <cmath>
#include <cstdarg>

#include <iostream>
#include <fstream>

using std::sin;
using std::string;
using std::ifstream;
using std::ios_base;

const auto WINDOW_WIDTH  = 800;
const auto WINDOW_HEIGHT = 600;
const auto WINDOW_TITLE  = "GL Cook Book - Playing with Shaders.";

void updateKey(GLFWwindow* window, int key, int code, int action, int mode);
void printShaderStatus(GLuint shader);
GLuint makeShader(GLenum shaderType, string text);
GLuint makeVertex(string path);
GLuint makeFrag(string path);
string makeString(string path);

int main(int argc, char const *argv[])
{
    glfwInit();
    glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
    glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
    glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);<commit_msg>basic_shader: Removed unused fn prototypes.<commit_after>#include <GL/glew.h>
#include <GLFW/glfw3.h>

#include <cmath>
#include <cstdarg>

#include <iostream>
#include <fstream>

using std::sin;
using std::string;
using std::ifstream;
using std::ios_base;

const auto WINDOW_WIDTH  = 800;
const auto WINDOW_HEIGHT = 600;
const auto WINDOW_TITLE  = "GL Cook Book - Playing with Shaders.";

void updateKey(GLFWwindow* window, int key, int code, int action, int mode);
void printShaderStatus(GLuint shader);
GLuint makeShader(GLenum shaderType, string text);
string makeString(string path);

int main(int argc, char const *argv[])
{
    glfwInit();
    glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
    glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
    glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
{'fraction_non_alphanumeric': 0.1095066185318893, 'fraction_numerical': 0.010830324909747292, 'mean_word_length': 6.424107142857143, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5254590', 'n_tokens_mistral': 612, 'n_tokens_neox': 591, 'n_words': 153}