Merge branch 'master' of https://git.z.xinu.tv/wathiede/raytracers
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bill Thiede 2019-10-30 20:06:29 -07:00
commit 2541b76ae6

View File

@ -478,7 +478,7 @@ fn render_worker(
Ok(req) => match req {
Request::Line { width, y } => {
trace!("tid {} width {} y {}", tid, width, y);
let batch = true;
let batch = false;
if batch {
let (pixels, rays): (Vec<Vec3>, Vec<usize>) = (0..width)
.map(|x| render_pixel(scene, x, y))