diff options
author | pommicket <pommicket@gmail.com> | 2022-12-17 19:29:26 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-17 19:29:26 -0500 |
commit | f5521615ad2e18b1ab96429bd749570fa01c23c8 (patch) | |
tree | c5dc2c8fbc18b0a007910308c4f4c3338c7d66e4 /src/sdf.rs | |
parent | b25afa914916259f55b734b5119c70ce7fc90064 (diff) |
it wasn't working but now it is
Diffstat (limited to 'src/sdf.rs')
-rw-r--r-- | src/sdf.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -545,7 +545,7 @@ impl R3ToR3 { pub struct SceneConfig { pub sdf_max_depth: isize, - pub color_max_depth: isize + pub color_max_depth: isize, } #[derive(Serialize, Deserialize)] @@ -578,7 +578,7 @@ impl Scene { let bytes = decode_hex(s)?; serde_cbor::from_reader(&bytes[..]).ok()? } - + pub fn good_random(rng: &mut impl Rng, config: &SceneConfig) -> Self { let sdf = R3ToR::good_random(rng, config.sdf_max_depth); let color_function = R3ToR3::good_random(rng, config.color_max_depth); |