gcc 4.5 warning fix

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5532 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Alejandro V. Garcia
2010-08-03 03:10:18 +00:00
parent b75856ceed
commit e24ed80d93
+1 -1
View File
@@ -54,7 +54,7 @@ struct vec
int i[3];
};
vec() {}
vec() {x=y=z=0;}
vec(float a, float b, float c) : x(a), y(b), z(c) {}
vec(float *v) : x(v[0]), y(v[1]), z(v[2]) {}