├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── LICENSE ├── README.md ├── demo ├── emdconv.c ├── main.c └── utils │ ├── camera.c │ ├── camera.h │ ├── definitions.h │ ├── filemapping.c │ ├── filemapping.h │ ├── linearalg.c │ ├── linearalg.h │ ├── models.c │ ├── models.h │ ├── utils.c │ └── utils.h ├── glxw ├── CMakeLists.txt ├── LICENSE ├── README.md ├── glxw_gen.py ├── include │ ├── EGL │ │ ├── egl.h │ │ ├── eglext.h │ │ └── eglplatform.h │ ├── GL │ │ ├── glcorearb.h │ │ ├── glxext.h │ │ └── wglext.h │ ├── GLES2 │ │ ├── gl2.h │ │ ├── gl2ext.h │ │ └── gl2platform.h │ ├── GLES3 │ │ ├── gl3.h │ │ └── gl3platform.h │ ├── GLXW │ │ ├── glxw.h │ │ ├── glxw_egl.h │ │ ├── glxw_es2.h │ │ ├── glxw_glx.h │ │ └── glxw_wgl.h │ └── KHR │ │ └── khrplatform.h └── src │ ├── glxw.c │ ├── glxw_egl.c │ ├── glxw_es2.c │ ├── glxw_glx.c │ └── glxw_wgl.c ├── models ├── grass.blend ├── grass.emd ├── skybox.blend ├── skybox.emd ├── sphere.blend ├── sphere.emd ├── torus.blend ├── torus.emd ├── tower.blend └── tower.emd ├── shaders ├── fontFragmentShader.glsl ├── fontVertexShader.glsl ├── fragmentShader.glsl └── vertexShader.glsl └── textures ├── font.dds ├── grass.dds ├── skybox.dds └── tower.dds /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/README.md -------------------------------------------------------------------------------- /demo/emdconv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/emdconv.c -------------------------------------------------------------------------------- /demo/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/main.c -------------------------------------------------------------------------------- /demo/utils/camera.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/camera.c -------------------------------------------------------------------------------- /demo/utils/camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/camera.h -------------------------------------------------------------------------------- /demo/utils/definitions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/definitions.h -------------------------------------------------------------------------------- /demo/utils/filemapping.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/filemapping.c -------------------------------------------------------------------------------- /demo/utils/filemapping.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/filemapping.h -------------------------------------------------------------------------------- /demo/utils/linearalg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/linearalg.c -------------------------------------------------------------------------------- /demo/utils/linearalg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/linearalg.h -------------------------------------------------------------------------------- /demo/utils/models.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/models.c -------------------------------------------------------------------------------- /demo/utils/models.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/models.h -------------------------------------------------------------------------------- /demo/utils/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/utils.c -------------------------------------------------------------------------------- /demo/utils/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/demo/utils/utils.h -------------------------------------------------------------------------------- /glxw/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/CMakeLists.txt -------------------------------------------------------------------------------- /glxw/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/LICENSE -------------------------------------------------------------------------------- /glxw/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/README.md -------------------------------------------------------------------------------- /glxw/glxw_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/glxw_gen.py -------------------------------------------------------------------------------- /glxw/include/EGL/egl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/EGL/egl.h -------------------------------------------------------------------------------- /glxw/include/EGL/eglext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/EGL/eglext.h -------------------------------------------------------------------------------- /glxw/include/EGL/eglplatform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/EGL/eglplatform.h -------------------------------------------------------------------------------- /glxw/include/GL/glcorearb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GL/glcorearb.h -------------------------------------------------------------------------------- /glxw/include/GL/glxext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GL/glxext.h -------------------------------------------------------------------------------- /glxw/include/GL/wglext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GL/wglext.h -------------------------------------------------------------------------------- /glxw/include/GLES2/gl2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLES2/gl2.h -------------------------------------------------------------------------------- /glxw/include/GLES2/gl2ext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLES2/gl2ext.h -------------------------------------------------------------------------------- /glxw/include/GLES2/gl2platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLES2/gl2platform.h -------------------------------------------------------------------------------- /glxw/include/GLES3/gl3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLES3/gl3.h -------------------------------------------------------------------------------- /glxw/include/GLES3/gl3platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLES3/gl3platform.h -------------------------------------------------------------------------------- /glxw/include/GLXW/glxw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLXW/glxw.h -------------------------------------------------------------------------------- /glxw/include/GLXW/glxw_egl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLXW/glxw_egl.h -------------------------------------------------------------------------------- /glxw/include/GLXW/glxw_es2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLXW/glxw_es2.h -------------------------------------------------------------------------------- /glxw/include/GLXW/glxw_glx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLXW/glxw_glx.h -------------------------------------------------------------------------------- /glxw/include/GLXW/glxw_wgl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/GLXW/glxw_wgl.h -------------------------------------------------------------------------------- /glxw/include/KHR/khrplatform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/include/KHR/khrplatform.h -------------------------------------------------------------------------------- /glxw/src/glxw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/src/glxw.c -------------------------------------------------------------------------------- /glxw/src/glxw_egl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/src/glxw_egl.c -------------------------------------------------------------------------------- /glxw/src/glxw_es2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/src/glxw_es2.c -------------------------------------------------------------------------------- /glxw/src/glxw_glx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/src/glxw_glx.c -------------------------------------------------------------------------------- /glxw/src/glxw_wgl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/glxw/src/glxw_wgl.c -------------------------------------------------------------------------------- /models/grass.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/grass.blend -------------------------------------------------------------------------------- /models/grass.emd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/grass.emd -------------------------------------------------------------------------------- /models/skybox.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/skybox.blend -------------------------------------------------------------------------------- /models/skybox.emd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/skybox.emd -------------------------------------------------------------------------------- /models/sphere.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/sphere.blend -------------------------------------------------------------------------------- /models/sphere.emd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/sphere.emd -------------------------------------------------------------------------------- /models/torus.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/torus.blend -------------------------------------------------------------------------------- /models/torus.emd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/torus.emd -------------------------------------------------------------------------------- /models/tower.blend: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/tower.blend -------------------------------------------------------------------------------- /models/tower.emd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/models/tower.emd -------------------------------------------------------------------------------- /shaders/fontFragmentShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/shaders/fontFragmentShader.glsl -------------------------------------------------------------------------------- /shaders/fontVertexShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/shaders/fontVertexShader.glsl -------------------------------------------------------------------------------- /shaders/fragmentShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/shaders/fragmentShader.glsl -------------------------------------------------------------------------------- /shaders/vertexShader.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/shaders/vertexShader.glsl -------------------------------------------------------------------------------- /textures/font.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/textures/font.dds -------------------------------------------------------------------------------- /textures/grass.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/textures/grass.dds -------------------------------------------------------------------------------- /textures/skybox.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/textures/skybox.dds -------------------------------------------------------------------------------- /textures/tower.dds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/afiskon/c-opengl-text/HEAD/textures/tower.dds --------------------------------------------------------------------------------