diff --git a/rtiow/src/texture/envmap.rs b/rtiow/src/texture/envmap.rs index ec03d93..312f232 100644 --- a/rtiow/src/texture/envmap.rs +++ b/rtiow/src/texture/envmap.rs @@ -21,7 +21,6 @@ impl EnvMap { let zero = Vec3::new(0., 0., 0.); let u = ray.x.atan2(ray.z) / f32::consts::PI /2.0 + 0.5; let v = ray.y / 2.0 + 0.5; - // TODO(wathiede): properly wrap sphere to lat/lon. self.img_tex.value(u, v, zero) } }