We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2c48ce commit ad467f7Copy full SHA for ad467f7
node-graph/nodes/vector/src/generator_nodes.rs
@@ -410,11 +410,7 @@ fn aperiodic_tiling(
410
#[default(100., 100.)]
411
culling_bound_max: DVec2,
412
) -> Table<Vector> {
413
- let culling_bounds = if cull_viewport {
414
- Some([culling_bound_min, culling_bound_max])
415
- } else {
416
- None
417
- };
+ let culling_bounds = if cull_viewport { Some([culling_bound_min, culling_bound_max]) } else { None };
418
let vector = crate::aperiodic_tiling::generate_hat_tiling(levels, scale, culling_bounds);
419
Table::new_from_element(vector)
420
}
0 commit comments