A tiny software raymarcher that attempts to render "n-dimension" manofold insertions as an image appearing to be a non-euclidean 3-dimensional space. Written for the uqcs hackathon 2020. This repo is a mirror of: https://github.com/ailrst/blackpink
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
584 B

LINKS = -lSDL2 -lm -Wall -g
all: colours.o vect.o distfuncs.o camera.o scene.o
gcc main.c colours.o vect.o distfuncs.o camera.o scene.o $(LINKS) -o blackpink
colours.o: colours.c colours.h
gcc $(LINKS) -c colours.c -o colours.o
vect.o: vect.c vect.h
gcc $(LINKS) -c vect.c -o vect.o
distfuncs.o: distfuncs.c distfuncs.h
gcc $(LINKS) -c distfuncs.c -o distfuncs.o
camera.o: camera.c
gcc $(LINKS) -c camera.c -o camera.o
scene.o: scene.c
gcc $(LINKS) -c scene.c -o scene.o
pres: presentation.md
pandoc -t beamer presentation.md -o pres.pdf
clean:
rm *.o blackpink