A three-dimensional graphics library from scratch written in C++13 and accelerated with CUDA/Apple Metal.
Before attempting to build this project, make sure you have Simple DirectMedia Layer (SDL 2), GNU Make, and CMake installed on your machine.
To get a local copy of the project up and running on your machine, follow these simple steps:
-
Clone the project repository
git clone https://github.com/Kaweees/graphics.git cd graphics
-
Build and execute the project
clear && cmake CMakeLists.txt && make && ./target/release/kiwigl
The graphics library uses the following conventions:
- left-handed coordinate system
- counter-clockwise winding order
To interact with the graphics library, use the following keyboard shortcuts:
Command Keybind | Command Description |
---|---|
CTRL + q | Quit the application |
graphics/
βββ .github/ - GitHub Actions CI/CD workflows
βββ include/ - project header files
βββ src/ - project source files
β βββ main.c - Entry point, main function
βββ CMakeLists.txt - CMake build script
βββ LICENSE - project license
βββ README.md - you are here
The source code for my website is distributed under the terms of the GNU General Public License v3.0, as I firmly believe that collaborating on free and open-source software fosters innovations that mutually and equitably beneficial to both collaborators and users alike. See LICENSE
for details and more information.