lonkaars / liehjuck

Simple software rasterizer (school project)
3 stars 0 forks source link
cpp p5js xcb

Liehjuck

This is a simple software rasterizer written in C++ as part of a school project.

Dependencies

# only run the following 3 commands if you can't get nlohmann/json >= 3.9
wget https://github.com/nlohmann/json/releases/latest/download/include.zip
7z x include.zip
sudo mv include/nlohmann /usr/include

sudo apt-get update

# build dependencies
sudo apt-get install argagg-dev libx11-xcb-dev libxcb-xtest0-dev libxcb-xfixes0-dev libxcb-image0-dev

# unit test dependencies
sudo apt-get install libgtest-dev

# documentation dependencies
sudo apt-get install doxygen

./configure

Contributing

I'm too lazy to make a code of conduct so here are some rules:

Building

make
./liehjuck

Documentation

make docs

Unit tests

make check

Code formatting

make format