├── CMakeLists.txt ├── include ├── camera.h └── math_utils.h ├── shader ├── clear_f.cg ├── clear_v.cg ├── color_f.cg ├── color_v.cg ├── cube_f.cg ├── cube_v.cg ├── disable_color_buffer_f.cg └── disable_color_buffer_v.cg └── source ├── camera.c ├── main.c └── math_utils.c /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /include/camera.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/include/camera.h -------------------------------------------------------------------------------- /include/math_utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/include/math_utils.h -------------------------------------------------------------------------------- /shader/clear_f.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/clear_f.cg -------------------------------------------------------------------------------- /shader/clear_v.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/clear_v.cg -------------------------------------------------------------------------------- /shader/color_f.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/color_f.cg -------------------------------------------------------------------------------- /shader/color_v.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/color_v.cg -------------------------------------------------------------------------------- /shader/cube_f.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/cube_f.cg -------------------------------------------------------------------------------- /shader/cube_v.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/cube_v.cg -------------------------------------------------------------------------------- /shader/disable_color_buffer_f.cg: -------------------------------------------------------------------------------- 1 | float4 main() 2 | { 3 | return 0.0f; 4 | } 5 | -------------------------------------------------------------------------------- /shader/disable_color_buffer_v.cg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/shader/disable_color_buffer_v.cg -------------------------------------------------------------------------------- /source/camera.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/source/camera.c -------------------------------------------------------------------------------- /source/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/source/main.c -------------------------------------------------------------------------------- /source/math_utils.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xerpi/gxmfun/HEAD/source/math_utils.c --------------------------------------------------------------------------------