Round the coordinates of a vector See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round
target vector
vector rounded
vecRound([0.1, 1.5]); // returns [0, 2]vecRound([-0.1, -1.5]); // returns [-0, -1] Copy
vecRound([0.1, 1.5]); // returns [0, 2]vecRound([-0.1, -1.5]); // returns [-0, -1]
Round the coordinates of a vector See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round