Remove done TODO.

This commit is contained in:
Bill Thiede 2019-02-03 19:38:40 -08:00
parent ce2d22b0b5
commit bc8b79a3da

View File

@ -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)
}
}