Couple of small optimisation
Add option to build for gprof Do not build by default with the renderstat (they have a reasonable impact on performances) Separated created ray and castedray in the stats Trying to force some simple function to be inlined
This commit is contained in:
@@ -229,13 +229,14 @@ int main()
|
||||
w.addObject(s);
|
||||
|
||||
/* ----------------------------- */
|
||||
|
||||
/*
|
||||
FILE *fpOut = fopen("christmas_worlddump.json", "wt");
|
||||
if (fpOut)
|
||||
{
|
||||
w.dumpMe(fpOut);
|
||||
fclose(fpOut);
|
||||
}
|
||||
*/
|
||||
/* ----------------------------- */
|
||||
|
||||
|
||||
|
||||
@@ -117,14 +117,7 @@ int main()
|
||||
w.addObject(dragon);
|
||||
|
||||
/* ----------------------------- */
|
||||
/*
|
||||
FILE *fpOut = fopen("dragon_worlddump.json", "wt");
|
||||
if (fpOut)
|
||||
{
|
||||
w.dumpMe(fpOut);
|
||||
fclose(fpOut);
|
||||
}
|
||||
*/
|
||||
|
||||
OctreeOptimisation opt;
|
||||
w.finalise(opt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user