]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
make the 'vector' type use qcfloat instead of float
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 16 Aug 2012 10:58:54 +0000 (12:58 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 16 Aug 2012 10:58:54 +0000 (12:58 +0200)
gmqcc.h

diff --git a/gmqcc.h b/gmqcc.h
index c0b5fb3ce4c3cfb46046bc5429f3fdc47070bae8..fa06c2e66a247f46dad9408d90575d5e628d43c4 100644 (file)
--- a/gmqcc.h
+++ b/gmqcc.h
@@ -783,7 +783,7 @@ enum store_types {
 };
 
 typedef struct {
-    float x, y, z;
+    qcfloat x, y, z;
 } vector;
 
 vector  vec3_add  (vector, vector);