Removed the 'erase_if' template, that was silly
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
int snapToBase(int base, int x) {
|
||||
//snap to a grid
|
||||
if (x < 0) {
|
||||
x++;
|
||||
++x;
|
||||
return x / base * base - base;
|
||||
}
|
||||
return x / base * base;
|
||||
|
||||
Reference in New Issue
Block a user