opengl_learn

Step-by-step introduction to OpenGL
git clone https://0xdd.org/code/opengl_learn.git
Log | Files | Refs | README | LICENSE

ModeNameSize
-rw-r--r--.gitignore11L
-rw-r--r--00-triangle.c76L
-rw-r--r--01-perspective.c96L
-rw-r--r--02-cube.c137L
-rw-r--r--03-texture.c195L
-rw-r--r--04-lighting.c240L
-rw-r--r--05-geometrytransforms.c246L
-rw-r--r--06-performance.c276L
-rw-r--r--LICENSE116L
-rw-r--r--Makefile77L
-rw-r--r--README16L
-rw-r--r--ogl/.gitignore6L
-rw-r--r--ogl/LICENSE116L
-rw-r--r--ogl/Makefile43L
-rw-r--r--ogl/_ogl.c20L
-rw-r--r--ogl/_ogl.h18L
-rw-r--r--ogl/mat4f_multiply.test.c87L
-rw-r--r--ogl/ogl.h159L
-rw-r--r--ogl/ogl_GLfloat_isapproxequal.c18L
-rw-r--r--ogl/ogl_GLfloat_print.c27L
-rw-r--r--ogl/ogl_arraybuffer_load.c18L
-rw-r--r--ogl/ogl_init.c69L
-rw-r--r--ogl/ogl_lookat.c57L
-rw-r--r--ogl/ogl_mat4f_identity.c20L
-rw-r--r--ogl/ogl_mat4f_isapproxequal.c22L
-rw-r--r--ogl/ogl_mat4f_multiply.c48L
-rw-r--r--ogl/ogl_mat4f_print.c33L
-rw-r--r--ogl/ogl_mat4f_rotate.c34L
-rw-r--r--ogl/ogl_mat4f_scale.c24L
-rw-r--r--ogl/ogl_mat4f_translate.c24L
-rw-r--r--ogl/ogl_perspective.c55L
-rw-r--r--ogl/ogl_program_build.c94L
-rw-r--r--ogl/ogl_program_uniform_get_ID.c27L
-rw-r--r--ogl/ogl_program_uniform_set_mat4f.c34L
-rw-r--r--ogl/ogl_vec3f_cross.c23L
-rw-r--r--ogl/ogl_vec3f_dot.c18L
-rw-r--r--ogl/ogl_vec3f_isapproxequal.c20L
-rw-r--r--ogl/ogl_vec3f_magnitude.c18L
-rw-r--r--ogl/ogl_vec3f_normal.c25L
-rw-r--r--ogl/ogl_vec3f_print.c30L
-rw-r--r--ogl/vec3f_cross.test.c71L
-rw-r--r--ogl/vec3f_magnitude.test.c67L
-rw-r--r--ogl/vec3f_normal.test.c84L