gmqcc/tests/vec_ops.qc
2013-01-13 20:49:27 +01:00

10 lines
201 B
C++

void print(string...) = #1;
string vtos(vector) = #5;
void main(vector v) {
print(vtos(v), "\n");
v /= 2;
print(vtos(v), "\n");
print(vtos(v / 2), "\n");
print(vtos(v), "\n");
}