From 54bdd06aab1888edac3061127fce72b0e78614ef Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Wed, 22 Aug 2012 12:56:34 +0200 Subject: [PATCH] some vector tests --- data/vars.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/vars.qc b/data/vars.qc index 19ba392..55b4ce2 100644 --- a/data/vars.qc +++ b/data/vars.qc @@ -9,6 +9,7 @@ entity() spawn = #3; void(entity) kill = #4; float multi, decla, ration; +.vector memvec; .void(string x) printit; @@ -29,8 +30,11 @@ void(vector par) vecpar = { void() main = { local entity pawn; + local vector foovec; print3("should be 1: ", ftos(dot('1 1 0', '1 0 0')), "\n"); + foovec = '3 4 5'; + foovec_y = 9; pawn = spawn(); pawn.printit = myprintit; pawn.printit("Hello"); -- 2.39.2