mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-12-18 00:11:06 +00:00
12 lines
313 B
C++
12 lines
313 B
C++
float(float x, float y, float z) sum = {
|
|
return x + y + z;
|
|
};
|
|
|
|
void(float a, float b, float c) main = {
|
|
local float f;
|
|
f = sum(sum(a, sum(a, b, c), c),
|
|
sum(sum(sum(a, b, c), b, sum(a, b, c)), b, sum(a, b, sum(a, b, c))),
|
|
sum(sum(a, b, c), b, c));
|
|
print(ftos(f), "\n");
|
|
|
|
};
|