tutorials:qsm:to-growable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorials:qsm:to-growable [2025/10/13 16:24] – [Adding buds] Tim | tutorials:qsm:to-growable [2025/10/13 16:25] (current) – [Apical] Tim | ||
---|---|---|---|
Line 49: | Line 49: | ||
==== Apical ==== | ==== Apical ==== | ||
+ | <code java step2.rgg> | ||
+ | import static de.grogra.qsm.utils.Library.*; | ||
+ | import static de.grogra.qsm.utils.Descriptors.*; | ||
+ | module MyShoot(super.length, | ||
+ | module MyBud(int order, float length) extends Sphere(0.002){{setShader(EGA_3); | ||
+ | public void update()[ | ||
+ | { | ||
+ | | ||
+ | } | ||
+ | f: | ||
+ | f:F ==> MyShoot(f.length, | ||
+ | ] | ||
+ | |||
+ | public void grow()[ | ||
+ | MyBud(o, | ||
+ | |||
+ | ] | ||
+ | |||
+ | </ | ||
==== Lateral ==== | ==== Lateral ==== | ||
tutorials/qsm/to-growable.1760365497.txt.gz · Last modified: 2025/10/13 16:24 by Tim