mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
tweak, pushBack vs + Array
This commit is contained in:
parent
288c79fb46
commit
cb29f1a6c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user