changeset 166:a2c4dc388d5e trunk

[svn r182] Oups, the PGM output for the raytracer demo was borked.
author lindquist
date Tue, 06 May 2008 00:03:55 +0200
parents 9922b9982552
children adca7f32fb6d
files demos/ray.d
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/demos/ray.d	Mon May 05 22:20:07 2008 +0200
+++ b/demos/ray.d	Tue May 06 00:03:55 2008 +0200
@@ -113,7 +113,7 @@
     n = (args.length==3 ? args[2].atoi() : 512), ss = 4;
   auto light = Vec(-1, -3, 2).unitise();
   auto s=create(level, Vec(0, -1, 0), 1);
-  printf("P5\n%d %d\n255", n,n);
+  printf("P5\n%d %d\n255\n", n,n);
   for (int y=n-1; y>=0; --y)
     for (int x=0; x<n; ++x) {
       double g=0;