1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

generate-time lighting optimization

This commit is contained in:
Perttu Ahola 2011-01-15 13:50:13 +02:00
parent 83e083a667
commit a176f9eb36
7 changed files with 300 additions and 227 deletions

View file

@ -1323,10 +1323,17 @@ private:
MutexedQueue< GetRequest<Key, T, Caller, CallerData> > m_queue;
};
// Pseudo-random (VC++ rand() sucks)
/*
Pseudo-random (VC++ rand() sucks)
*/
int myrand(void);
void mysrand(unsigned seed);
#define MYRAND_MAX 32767
/*
TODO: Some kind of a thing that stores arbitary data related to
2D coordinate points
*/
#endif