File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Sources/Lindenmayer/Examples Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -422,16 +422,16 @@ public enum Examples3D: Sendable {
422422 let upper : Float = 45.0
423423 let lower : Float = 15.0
424424
425- if rng. p ( 0.5 ) {
425+ if await rng. p ( 0.5 ) {
426426 return [
427427 StaticStem2 ( length: 2 ) ,
428- Modules . PitchDown ( angle: Angle ( degrees: Double ( rng. randomFloat ( in: lower ... upper) ) ) ) ,
428+ Modules . PitchDown ( angle: Angle ( degrees: Double ( await rng. randomFloat ( in: lower ... upper) ) ) ) ,
429429 Stem2 ( length: stem. length) ,
430430 ]
431431 } else {
432432 return [
433433 StaticStem2 ( length: 2 ) ,
434- Modules . PitchUp ( angle: Angle ( degrees: Double ( rng. randomFloat ( in: lower ... upper) ) ) ) ,
434+ Modules . PitchUp ( angle: Angle ( degrees: Double ( await rng. randomFloat ( in: lower ... upper) ) ) ) ,
435435 Stem2 ( length: stem. length) ,
436436 ]
437437 }
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export DOCC_JSON_PRETTYPRINT=YES
3737 --allow-writing-to-directory ./docs \
3838 generate-documentation \
3939 --fallback-bundle-identifier com.github.heckj.Lindenmayer \
40- --fallback-bundle-version 0.7.2 \
40+ --fallback-bundle-version 0.7.3 \
4141 --target Lindenmayer \
4242 --target LindenmayerViews \
4343 --output-path ./docs \
You can’t perform that action at this time.
0 commit comments