A simple 3D rendering lib compatible with OpenGL and ps2sdk written in C
This repo uses git-submodules
to have GLFW and glad.
Please use the following command to clone this repo:
git clone --recurse-submodules https://github.com/jloutfalla/kyu
or
git clone https://github.com/jloutfalla/kyu
cd kyu
git submodule update --init --recursive
If you want to use this lib to develop on the Sony Playstation 2, please install the toolchain and the SDK from ps2dev.
To build for Windows of Linux, do:
mkdir build
cmake -B build/ [{-D <variable>=<value>}...]
cmake --build build
To build for the PS2, simply do (ensure that the $PS2SDK
variable
points to the installation directory of ps2sdk
):
mkdir build
cmake --toolchain "$PS2SDK/ps2dev.cmake" -B build/
cmake --build build