gKit2 light
Functions | Variables
tuto2GL.cpp File Reference

le premier shader, afficher un triangle et le deplacer... More...

#include <fstream>
#include <sstream>
#include <string>
#include "glcore.h"
#include "window.h"

Go to the source code of this file.

Functions

std::string read (const char *filename)
 
int init ()
 
int quit ()
 
int draw ()
 
int main (int argc, char **argv)
 

Variables

GLuint vertex_shader
 
GLuint fragment_shader
 
GLuint program
 
GLuint vao
 

Detailed Description

le premier shader, afficher un triangle et le deplacer...

Definition in file tuto2GL.cpp.