mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-01 15:36:45 +00:00
fix worm using xStyle for y and z
This commit is contained in:
parent
200819f8a5
commit
78fec855ac
@ -72,8 +72,8 @@ public class IrisWorm {
|
|||||||
KList<IrisPosition> pos = new KList<>();
|
KList<IrisPosition> pos = new KList<>();
|
||||||
KSet<IrisPosition> check = allowLoops ? null : new KSet<>();
|
KSet<IrisPosition> check = allowLoops ? null : new KSet<>();
|
||||||
CNG gx = xStyle.getGenerator().createNoCache(new RNG(rng.lmax()), data);
|
CNG gx = xStyle.getGenerator().createNoCache(new RNG(rng.lmax()), data);
|
||||||
CNG gy = xStyle.getGenerator().createNoCache(new RNG(rng.lmax()), data);
|
CNG gy = yStyle.getGenerator().createNoCache(new RNG(rng.lmax()), data);
|
||||||
CNG gz = xStyle.getGenerator().createNoCache(new RNG(rng.lmax()), data);
|
CNG gz = zStyle.getGenerator().createNoCache(new RNG(rng.lmax()), data);
|
||||||
|
|
||||||
while (itr-- > 0) {
|
while (itr-- > 0) {
|
||||||
IrisPosition current = new IrisPosition(Math.round(cx), Math.round(cy), Math.round(cz));
|
IrisPosition current = new IrisPosition(Math.round(cx), Math.round(cy), Math.round(cz));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user