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 1 year ago

tyoeer commented 1 year 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 1 year ago

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