This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Source of MySQL Raytracer -- https://www.pouet.net/prod.php?which=83222 | |
* Pasted here for convenience, see original for copyright information */ | |
/* MySQL raytracing engine by Nick (holtsetio@gmail.com) */ | |
Select if(repeat(char( | |
/* Parameters */ | |
@w := 100, /* width of the output in pixels */ | |
@h := 100, /* height of the output in pixels */ | |
@cam.x := 0.0, /* x-position of the camera */ | |
@cam.y := 0.0, /* y-position of the camera */ |