applied falcobuster's long render distance fix

This commit is contained in:
Reonu
2021-04-27 11:54:51 +01:00
parent 960f695115
commit cbcba7b6f9
4 changed files with 151 additions and 29 deletions

View File

@@ -5,6 +5,14 @@
#include "types.h"
/* Scales the world down by this factor, increasing how far you can render on
* console in exchange for a slight loss in precision.
*
* For double extended boundary hacks, a value of 1.5f or 2.0f is good.
* For quadruple extended bounds, use 3.f or 4.f
*/
#define WORLD_SCALE 2.f
/*
* The sine and cosine tables overlap, but "#define gCosineTable (gSineTable +
* 0x400)" doesn't give expected codegen; gSineTable and gCosineTable need to