]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Added an implementation of Lehmer random number generator with Lecuyer constant,...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 21:45:11 +0000 (21:45 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Nov 2016 21:45:11 +0000 (21:45 +0000)
commit8e10530c0564b56ff02e689d3d6839b8fcb88553
tree505b0ea1b41f99a2b1f15d459105451f67ed7af3
parent83074a20b0e488b3e7e58a573d96fd17e55e4580
Added an implementation of Lehmer random number generator with Lecuyer constant, this is a simple mul128 based RNG with a period of 2^126.

Use the new RNG for bouncegrid traces to hopefully improve the photon distribution compared to lhcheeserandom.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12298 d7cf8633-e32d-0410-b094-e92efae38249
mathlib.c
mathlib.h
r_shadow.c