gmqcc/tests/vec_ops.qc

11 lines
201 B
C++
Raw Normal View History

2013-01-13 19:49:27 +00:00
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");
}