mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-22 22:26:18 +00:00
parent
13eab74fb8
commit
59f30d384c
1 changed files with 3 additions and 3 deletions
|
@ -264,9 +264,9 @@ public:
|
||||||
return UBL_Z_RAISE_WHEN_OFF_MESH;
|
return UBL_Z_RAISE_WHEN_OFF_MESH;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const uint8_t mx = _MIN(cx, (GRID_MAX_POINTS_X) - 2) + 1, my = _MIN(cy, (GRID_MAX_POINTS_Y) - 2) + 1,
|
const uint8_t mx = _MIN(cx, (GRID_MAX_POINTS_X) - 2) + 1, my = _MIN(cy, (GRID_MAX_POINTS_Y) - 2) + 1;
|
||||||
x0 = get_mesh_x(cx), x1 = get_mesh_x(cx + 1);
|
const float x0 = get_mesh_x(cx), x1 = get_mesh_x(cx + 1),
|
||||||
const float z1 = calc_z0(rx0, x0, z_values[cx][cy], x1, z_values[mx][cy]),
|
z1 = calc_z0(rx0, x0, z_values[cx][cy], x1, z_values[mx][cy]),
|
||||||
z2 = calc_z0(rx0, x0, z_values[cx][my], x1, z_values[mx][my]);
|
z2 = calc_z0(rx0, x0, z_values[cx][my], x1, z_values[mx][my]);
|
||||||
float z0 = calc_z0(ry0, get_mesh_y(cy), z1, get_mesh_y(cy + 1), z2);
|
float z0 = calc_z0(ry0, get_mesh_y(cy), z1, get_mesh_y(cy + 1), z2);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue