tweak, pushBack vs + Array

This commit is contained in:
commy2 2015-03-26 01:58:49 +01:00
parent 288c79fb46
commit cb29f1a6c9

View File

@ -19,7 +19,7 @@ _vector2 = _this select 1;
_newVector = [];
for "_i" from 0 to (((count _vector1) min (count _vector2)) - 1) do {
_newVector = _newVector + [(_vector1 select _i) * (_vector2 select _i)];
_newVector pushBack ((_vector1 select _i) * (_vector2 select _i));
};
_newVector