blob: 0132078f2709f488b14e27a4d96746d56f750a95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <stdlib.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <GL/gl.h>
typedef struct {
GLint time;
GLint window;
} uniforms_t;
uniforms_t * init_uniforms(GLuint shader, GLFWwindow* window);
void update_uniforms(uniforms_t * uniforms);
|