From: John Tsiombikas Date: Sun, 27 Jan 2019 20:31:19 +0000 (+0200) Subject: doubled the amount of hair strands, and turned on compiler optimizations X-Git-Url: https://eleni.mutantstargoat.com/git/?p=hair;a=commitdiff_plain;h=0d8ec0768272c586eba4f2964c3a9fce3086e392 doubled the amount of hair strands, and turned on compiler optimizations by default --- diff --git a/Makefile b/Makefile index 3792df5..af21e38 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ dep = $(obj:.o=.d) bin = hair dbg = -g -opt = -O0 +opt = -O3 -ffast-math inc = -Isrc -Isrc/shaders -Isrc/math CXX = g++ CC = gcc diff --git a/src/main.cc b/src/main.cc index 36fdeb8..ad3ba31 100644 --- a/src/main.cc +++ b/src/main.cc @@ -12,7 +12,7 @@ #include "hair.h" #include "object.h" -#define MAX_NUM_SPAWNS 800 +#define MAX_NUM_SPAWNS 1600 #define THRESH 0.5 static bool init();