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