clray
diff src/rt.cc @ 18:4b1604f9798a
debugging...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 09 Aug 2010 05:38:51 +0100 |
parents | 9e4a28063394 |
children | 8baea9b66b50 |
line diff
1.1 --- a/src/rt.cc Mon Aug 09 05:03:17 2010 +0100 1.2 +++ b/src/rt.cc Mon Aug 09 05:38:51 2010 +0100 1.3 @@ -31,7 +31,6 @@ 1.4 1.5 struct Ray { 1.6 float origin[4], dir[4]; 1.7 - float energy; 1.8 }; 1.9 1.10 struct Light { 1.11 @@ -259,7 +258,7 @@ 1.12 py *= 100.0; 1.13 pz *= 100.0; 1.14 1.15 - Ray ray = {{0, 0, 0, 1}, {px, py, -pz, 1}, 1.0}; 1.16 + Ray ray = {{0, 0, 0, 1}, {px, py, -pz, 1}}; 1.17 return ray; 1.18 } 1.19