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