Merge branch 'master' of https://git.z.xinu.tv/wathiede/raytracers
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
2541b76ae6
@ -478,7 +478,7 @@ fn render_worker(
|
|||||||
Ok(req) => match req {
|
Ok(req) => match req {
|
||||||
Request::Line { width, y } => {
|
Request::Line { width, y } => {
|
||||||
trace!("tid {} width {} y {}", tid, width, y);
|
trace!("tid {} width {} y {}", tid, width, y);
|
||||||
let batch = true;
|
let batch = false;
|
||||||
if batch {
|
if batch {
|
||||||
let (pixels, rays): (Vec<Vec3>, Vec<usize>) = (0..width)
|
let (pixels, rays): (Vec<Vec3>, Vec<usize>) = (0..width)
|
||||||
.map(|x| render_pixel(scene, x, y))
|
.map(|x| render_pixel(scene, x, y))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user