14 lines
248 B
Plaintext
14 lines
248 B
Plaintext
![]() |
[source,csharp]
|
||
|
----
|
||
|
// Each function does a part of what the original setCoordinates function was doing, so confusion risks are lower
|
||
|
void SetOrigin(int x, int y, int z)
|
||
|
{
|
||
|
// ...
|
||
|
}
|
||
|
|
||
|
void SetSize(int width, int height, int depth)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
----
|