Skip to content

Commit ad467f7

Browse files
committed
Fmt
1 parent e2c48ce commit ad467f7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

node-graph/nodes/vector/src/generator_nodes.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,7 @@ fn aperiodic_tiling(
410410
#[default(100., 100.)]
411411
culling_bound_max: DVec2,
412412
) -> Table<Vector> {
413-
let culling_bounds = if cull_viewport {
414-
Some([culling_bound_min, culling_bound_max])
415-
} else {
416-
None
417-
};
413+
let culling_bounds = if cull_viewport { Some([culling_bound_min, culling_bound_max]) } else { None };
418414
let vector = crate::aperiodic_tiling::generate_hat_tiling(levels, scale, culling_bounds);
419415
Table::new_from_element(vector)
420416
}

0 commit comments

Comments
 (0)