Remove done TODO.
This commit is contained in:
parent
ce2d22b0b5
commit
bc8b79a3da
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user