1
0

Lighting Optimisations (#3785)

This commit is contained in:
peterbell10
2017-06-20 08:28:33 +01:00
committed by Lukas Pioch
parent 3d56ad01aa
commit fbe17a4e8a
2 changed files with 24 additions and 74 deletions

View File

@@ -149,10 +149,6 @@ protected:
/** Uses m_BlockTypes to initialize the m_BlockLight[] data; fills in seeds for the blocklight */
void PrepareBlockLight(void);
/** Same as PrepareBlockLight(), but uses a different traversal scheme; possibly better perf cache-wise.
To be compared in perf benchmarks. */
void PrepareBlockLight2(void);
/** Calculates light in the light array specified, using stored seeds */
void CalcLight(NIBBLETYPE * a_Light);