12 lines
209 B
Plaintext
12 lines
209 B
Plaintext
[source,ruby]
|
|
----
|
|
# Each function does a part of what the original distance function was doing, so confusion risks are lower
|
|
def move(x, y, z)
|
|
# ...
|
|
end
|
|
|
|
def resize(width, height, depth)
|
|
# ...
|
|
end
|
|
----
|