From 0d8ec0768272c586eba4f2964c3a9fce3086e392 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Sun, 27 Jan 2019 22:31:19 +0200 Subject: [PATCH] doubled the amount of hair strands, and turned on compiler optimizations by default --- Makefile | 2 +- src/main.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 1.7.10.4