Calculate Newtonian gravity using fast Fourier transforms

About 16% slower for one cell changing, same speed for 6 cells changing,
and several hundred times faster for whole screen changing.
This commit is contained in:
jacksonmj
2011-07-15 05:16:11 +08:00
committed by Simon Robertshaw
parent d20c704d88
commit 788b0cd04c
5 changed files with 175 additions and 4 deletions

View File

@@ -92,6 +92,7 @@ extern unsigned char ZSIZE;
#define BRUSH_NUM 3
//#define GRAVFFT
//#define LUACONSOLE
//#define PYCONSOLE
//#define PYEXT