diff options
Diffstat (limited to 'apps/raytracing/1.cc')
-rw-r--r-- | apps/raytracing/1.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/apps/raytracing/1.cc b/apps/raytracing/1.cc deleted file mode 100644 index 254f531c..00000000 --- a/apps/raytracing/1.cc +++ /dev/null @@ -1,18 +0,0 @@ -// https://raytracing.github.io/books/RayTracingInOneWeekend.html -#include <iostream> - -int main() { - - // Image - - const int image_width = 256; - const int image_height = 256; - - // Render - - std::cout << "P3\n" << image_width << ' ' << image_height << "\n255\n"; - - for (int j = image_height-1; j >= 0; --j) - for (int i = 0; i < image_width; ++i) - std::cout << i << ' ' << j << " 64\n"; -} |