17 lines
339 B
Plaintext
17 lines
339 B
Plaintext
[source,pli]
|
|
----
|
|
/* Each procedure does a part of what the original set_coordinates procedure was doing, so confusion risks are lower */
|
|
|
|
set_origin: proc(x, y, z);
|
|
/* ... */
|
|
end set_origin;
|
|
|
|
set_size: proc(width, height, depth);
|
|
/* ... */
|
|
end set_size;
|
|
|
|
set_rotation: proc(yaw, pitch, roll);
|
|
/* ... */
|
|
end set_rotation;
|
|
----
|