12 lines
277 B
Plaintext
12 lines
277 B
Plaintext
[source,apex]
|
|
----
|
|
// Each function does a part of what the original setCoordinates function was doing, so confusion risks are lower
|
|
void setOrigin(Integer x, Integer y, Integer z) {
|
|
// ...
|
|
}
|
|
|
|
void setSize(Integer width, Integer height, Integer depth) {
|
|
// ...
|
|
}
|
|
----
|