gKit2 light
Functions | Variables
tuto4GL_normals.cpp File Reference
#include "window.h"
#include "vec.h"
#include "mat.h"
#include "program.h"
#include "uniforms.h"
#include "orbiter.h"
#include "mesh.h"
#include "wavefront.h"
#include <stdio.h>

Go to the source code of this file.

Functions

int init ()
 
int quit ()
 
int draw ()
 
int main (int argc, char **argv)
 

Variables

GLuint program
 
GLuint vao
 
GLuint vertex_buffer
 
GLuint normal_buffer
 
unsigned int vertex_count
 
Orbiter camera
 

Detailed Description

affichage d'un maillage + vertex array object + vertex buffer + shader program + uniforms configure un 2ieme attribut, les normales

Definition in file tuto4GL_normals.cpp.