├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── examples └── basic.c ├── include ├── aabb.h ├── bullet.h ├── c3d.h ├── camera.h ├── font.h ├── level.h ├── light.h ├── linmath.h ├── list.h ├── material.h ├── mesh.h ├── phongShader.h ├── player.h ├── render.h ├── shader.h ├── terrain.h ├── text.h ├── textShader.h ├── utils.h └── window.h ├── makefile ├── readme.md ├── res ├── fonts │ ├── pixfont.jpg │ └── pixfont.png ├── maps │ ├── emptymap.bmp │ └── map.bmp ├── obj │ ├── bullet.obj │ ├── sphere.obj │ └── spot.obj └── textures │ ├── grass.jpg │ ├── metal.jpg │ └── spot.png └── src ├── aabb.c ├── bullet.c ├── c3d.c ├── camera.c ├── font.c ├── glsl ├── shader.frag ├── shader.vert ├── textShader.frag └── textShader.vert ├── level.c ├── light.c ├── list.c ├── mesh.c ├── phongShader.c ├── player.c ├── render.c ├── shader.c ├── terrain.c ├── text.c ├── textShader.c ├── utils.c └── window.c /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/LICENSE -------------------------------------------------------------------------------- /examples/basic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/examples/basic.c -------------------------------------------------------------------------------- /include/aabb.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/aabb.h -------------------------------------------------------------------------------- /include/bullet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/bullet.h -------------------------------------------------------------------------------- /include/c3d.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/c3d.h -------------------------------------------------------------------------------- /include/camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/camera.h -------------------------------------------------------------------------------- /include/font.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/font.h -------------------------------------------------------------------------------- /include/level.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/level.h -------------------------------------------------------------------------------- /include/light.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/light.h -------------------------------------------------------------------------------- /include/linmath.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/linmath.h -------------------------------------------------------------------------------- /include/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/list.h -------------------------------------------------------------------------------- /include/material.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/material.h -------------------------------------------------------------------------------- /include/mesh.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/mesh.h -------------------------------------------------------------------------------- /include/phongShader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/phongShader.h -------------------------------------------------------------------------------- /include/player.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/player.h -------------------------------------------------------------------------------- /include/render.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/render.h -------------------------------------------------------------------------------- /include/shader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/shader.h -------------------------------------------------------------------------------- /include/terrain.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/terrain.h -------------------------------------------------------------------------------- /include/text.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/text.h -------------------------------------------------------------------------------- /include/textShader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/textShader.h -------------------------------------------------------------------------------- /include/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/utils.h -------------------------------------------------------------------------------- /include/window.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/include/window.h -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/makefile -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/readme.md -------------------------------------------------------------------------------- /res/fonts/pixfont.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/fonts/pixfont.jpg -------------------------------------------------------------------------------- /res/fonts/pixfont.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/fonts/pixfont.png -------------------------------------------------------------------------------- /res/maps/emptymap.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/maps/emptymap.bmp -------------------------------------------------------------------------------- /res/maps/map.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/maps/map.bmp -------------------------------------------------------------------------------- /res/obj/bullet.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/obj/bullet.obj -------------------------------------------------------------------------------- /res/obj/sphere.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/obj/sphere.obj -------------------------------------------------------------------------------- /res/obj/spot.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/obj/spot.obj -------------------------------------------------------------------------------- /res/textures/grass.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/textures/grass.jpg -------------------------------------------------------------------------------- /res/textures/metal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/textures/metal.jpg -------------------------------------------------------------------------------- /res/textures/spot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/res/textures/spot.png -------------------------------------------------------------------------------- /src/aabb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/aabb.c -------------------------------------------------------------------------------- /src/bullet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/bullet.c -------------------------------------------------------------------------------- /src/c3d.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/c3d.c -------------------------------------------------------------------------------- /src/camera.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/camera.c -------------------------------------------------------------------------------- /src/font.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/font.c -------------------------------------------------------------------------------- /src/glsl/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/glsl/shader.frag -------------------------------------------------------------------------------- /src/glsl/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/glsl/shader.vert -------------------------------------------------------------------------------- /src/glsl/textShader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/glsl/textShader.frag -------------------------------------------------------------------------------- /src/glsl/textShader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/glsl/textShader.vert -------------------------------------------------------------------------------- /src/level.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/level.c -------------------------------------------------------------------------------- /src/light.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/light.c -------------------------------------------------------------------------------- /src/list.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/list.c -------------------------------------------------------------------------------- /src/mesh.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/mesh.c -------------------------------------------------------------------------------- /src/phongShader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/phongShader.c -------------------------------------------------------------------------------- /src/player.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/player.c -------------------------------------------------------------------------------- /src/render.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/render.c -------------------------------------------------------------------------------- /src/shader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/shader.c -------------------------------------------------------------------------------- /src/terrain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/terrain.c -------------------------------------------------------------------------------- /src/text.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/text.c -------------------------------------------------------------------------------- /src/textShader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/textShader.c -------------------------------------------------------------------------------- /src/utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/utils.c -------------------------------------------------------------------------------- /src/window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thumsl/C3D/HEAD/src/window.c --------------------------------------------------------------------------------