mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-22 08:07:42 +00:00
Lazy pregen
This commit is contained in:
1 parent
b82edfe688
commit
a32de58c8b
3 files changed
+190
No files matched your search
@@ -75,4 +75,14 @@ public class Spiraler {
|
||||
z += dz;
|
||||
i++;
|
||||
}
|
||||
|
||||
public int count() {
|
||||
int c = 0;
|
||||
while(hasNext()) {
|
||||
next();
|
||||
c++;
|
||||
}
|
||||
|
||||
return c;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user