]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - tests/vec_ops.qc
Implemented >< (vector cross product operator). Currently support for constants only.
[xonotic/gmqcc.git] / tests / vec_ops.qc
index 509dc3a6a1c36a42fbf532ad1b63b2a44c4ce641..29ecbae5004286ddad860fcf5639bbf8e678ed01 100644 (file)
@@ -8,4 +8,5 @@ void main(vector v) {
     print(vtos(v & 16), "\n");
     print(vtos(v | '25 42 51'), "\n");
     print(vtos(v & '25 42 51'), "\n");
+    print(vtos('1 2 3' >< '3 2 1'));
 }