Fix collideVoxels vector i_end NaN infinite loop, vector object/array structure
Re-enable setting resting variable in terrain collision

Ref https://github.com/deathcap/voxpopuli/issues/46