tyoeer / Chaoshead

A level editor, scripting interface, campaign editor, and reverse engineering tool for Levelhead
Apache License 2.0
4 stars 1 forks source link

Unrounded positions cause problems for grids #134

Open tyoeer opened 10 months ago

tyoeer commented 10 months ago

When an object gets added to a level at slightly off position, it will get set in a slightly off column in the grid, where it will not be found while iterating over it.

tyoeer commented 9 months ago

Just rounding every number entered in the metatables appears to lose some performance with a manual inexact benchmark.