Leaked source code of GSC's XRay Engine 1.0 (GPL v3)