diff options
author | Stan Seibert <stan@mtrr.org> | 2011-08-16 17:11:34 -0400 |
---|---|---|
committer | Stan Seibert <stan@mtrr.org> | 2011-08-16 17:11:34 -0400 |
commit | 96f20d671e92c103f8437d6d311fa87d5779db11 (patch) | |
tree | 6d6d55c4600a570830777056f37c7e94377c5a5b /src/photon.h | |
parent | 85f9f1d23f74ed9679d879c32f7e3c72c7e7ce8f (diff) | |
parent | 56ebfae1830cba926fd5fd4054b2dd555cf83ae9 (diff) | |
download | chroma-96f20d671e92c103f8437d6d311fa87d5779db11.tar.gz chroma-96f20d671e92c103f8437d6d311fa87d5779db11.tar.bz2 chroma-96f20d671e92c103f8437d6d311fa87d5779db11.zip |
merge
Diffstat (limited to 'src/photon.h')
-rw-r--r-- | src/photon.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/photon.h b/src/photon.h index fa3b85b..f76ca54 100644 --- a/src/photon.h +++ b/src/photon.h @@ -103,9 +103,6 @@ __device__ void fill_state(State &s, Photon &p) s.absorption_length = interp_property(p.wavelength, material1.absorption_length); s.scattering_length = interp_property(p.wavelength, material1.scattering_length); - printf("wavelength = %f", p.wavelength); - printf("scattering length = %f\n", s.scattering_length); - } // fill_state __device__ void rayleigh_scatter(Photon &p, curandState &rng) @@ -156,8 +153,6 @@ __device__ int propagate_to_boundary(Photon &p, State &s, curandState &rng) { if (scattering_distance <= s.distance_to_boundary) { - printf("scattering distance = %f\n", scattering_distance); - p.time += scattering_distance/(SPEED_OF_LIGHT/s.refractive_index1); p.position += scattering_distance*p.direction; |