Faster random implementation

This commit is contained in:
David 2021-08-29 16:17:13 +02:00
commit 742ef283e4
7 changed files with 49 additions and 10 deletions

View file

@ -5,6 +5,8 @@ FLAGS=-Ofast -march=native -g -Wall -Wextra -Wpedantic
raytracer: camera.hpp color.hpp hittable.hpp hittable_list.hpp main.cpp material.hpp ray.hpp rtweekend.hpp sphere.hpp vec3.hpp $(INCLUDE)/Remotery.c $(INCLUDE)/Remotery.h
g++ $(FLAGS) -I$(INCLUDE) $(LIBS) main.cpp -o raytracer
make debug:
image: raytracer
@./raytracer > image.ppm
@if [ $$TERM = "xterm-kitty" ]; then\