Extends the rmgen lib's placer.js file to check for collision between several SimpleObjects included in a SimpleGroup. A SimpleGroup's center point is now used to randomly generate new center points for every SimpleObject included. Generated center points are checked against constraints and a given minimum object distance.
In Addition two bugs are fixed to properly generate and check these center points:
- Random points are now correctly generated around the given center point in several placing methods
- Engine coordinates "element.position.x" and "element.position.z" are divided by CELL_SIZE prior to comparing them to rmgen lib's coordinates to calculate correct distances