9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 03:29:06 +00:00
This commit is contained in:
cyberpwn
2021-08-19 22:39:36 -04:00
parent 3fc907e50f
commit 4a1e511262
3 changed files with 3 additions and 6 deletions

View File

@@ -45,6 +45,7 @@ public class WormIterator2 {
if(worm == null)
{
worm = new Worm2(x, z, 0, 0);
return worm;
}
worm.getX().setVelocity(noise.noise(worm.getX().getPosition(), 0));

View File

@@ -49,6 +49,7 @@ public class WormIterator3 {
if(worm == null)
{
worm = new Worm3(x, y, z, 0, 0, 0);
return worm;
}
worm.getX().setVelocity(noise.noise(worm.getX().getPosition(), 0));