Additional wrapping for #3140

This commit is contained in:
Scott Lahteine
2016-03-15 01:10:57 -07:00
parent cc9968f893
commit 6e1bc03d3b
7 changed files with 18 additions and 18 deletions

View File

@ -14,8 +14,8 @@
void reset();
float get_x(int i) { return MESH_MIN_X + MESH_X_DIST * i; }
float get_y(int i) { return MESH_MIN_Y + MESH_Y_DIST * i; }
float get_x(int i) { return MESH_MIN_X + (MESH_X_DIST) * i; }
float get_y(int i) { return MESH_MIN_Y + (MESH_Y_DIST) * i; }
void set_z(int ix, int iy, float z) { z_values[iy][ix] = z; }
int select_x_index(float x) {