Make LightPath::new() harder to mis-use.

This commit is contained in:
Nathan Vegdahl 2020-04-23 08:32:44 +09:00
parent b776bf56b8
commit c0a8c955c4

View File

@ -404,7 +404,7 @@ impl LightPath {
event: LightPathEvent::CameraRay, event: LightPathEvent::CameraRay,
bounce_count: 0, bounce_count: 0,
sampling_seed: sampling_seed, sampling_seed: sampling_seed ^ 0x40d4682b,
pixel_co: pixel_co, pixel_co: pixel_co,
sample_number: sample_number, sample_number: sample_number,
dim_offset: 0, dim_offset: 0,