Template:E 2D utilities: Difference between revisions
no edit summary
m (bugfix: send print output properly) |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
<noinclude>Some [[Category:E]] library code for the [[Spiral]] and [[Zig Zag]] tasks. Perhaps ought to be put into generally available E data structure/math libraries.
{{template}}<
def makeVector2(x, y) {
return def vector {
Line 26:
to put(r, c, v) { storage[r * cols + c] := v }
}
}</
|