|
gKit2 light
|
#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 |
affichage d'un maillage + vertex array object + vertex buffer + shader program + uniforms configure un 2ieme attribut, les normales
Definition in file tuto4GL_normals.cpp.
| int init | ( | ) |
Definition at line 33 of file tuto4GL_normals.cpp.
| int quit | ( | ) |
Definition at line 140 of file tuto4GL_normals.cpp.
| int draw | ( | void | ) |
Definition at line 148 of file tuto4GL_normals.cpp.
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 207 of file tuto4GL_normals.cpp.
| GLuint program |
Definition at line 21 of file tuto4GL_normals.cpp.
| GLuint vao |
Definition at line 24 of file tuto4GL_normals.cpp.
| GLuint vertex_buffer |
Definition at line 25 of file tuto4GL_normals.cpp.
| GLuint normal_buffer |
Definition at line 26 of file tuto4GL_normals.cpp.
| unsigned int vertex_count |
Definition at line 27 of file tuto4GL_normals.cpp.
| Orbiter camera |
Definition at line 30 of file tuto4GL_normals.cpp.