You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7b8b6e844d | 5 years ago | |
---|---|---|
images@a070980af1 | 5 years ago | |
renders | 5 years ago | |
src | 5 years ago | |
.gitignore | 5 years ago | |
.gitmodules | 5 years ago | |
README.md | 5 years ago | |
default.nix | 5 years ago | |
main.c | 5 years ago | |
marcher.h | 5 years ago |
README.md
Raymarching in C
Visit the website at renders.datenvorr.at
Compiling:
in fish:
# load requirements
nix-shell --run fish
# run gcc with flags
gcc (pkg-config --cflags --libs gtk+-3.0 | string split " ") -lm -Wall -Wextra -o march.out main.c
Running
give it the number of threads you want to use
./march.out <num threads>