Clarify some motion code

This commit is contained in:
Scott Lahteine
2017-11-08 22:13:33 -06:00
parent 10896b9431
commit 0cfb936dd1
8 changed files with 21 additions and 23 deletions

View File

@ -377,7 +377,7 @@ float bilinear_z_offset(const float raw[XYZ]) {
if (cx1 == cx2 && cy1 == cy2) {
// Start and end on same mesh square
line_to_destination(fr_mm_s);
buffer_line_to_destination(fr_mm_s);
set_current_from_destination();
return;
}
@ -404,7 +404,7 @@ float bilinear_z_offset(const float raw[XYZ]) {
}
else {
// Already split on a border
line_to_destination(fr_mm_s);
buffer_line_to_destination(fr_mm_s);
set_current_from_destination();
return;
}

View File

@ -68,7 +68,7 @@
if (cx1 == cx2 && cy1 == cy2) {
// Start and end on same mesh square
line_to_destination(fr_mm_s);
buffer_line_to_destination(fr_mm_s);
set_current_from_destination();
return;
}
@ -95,7 +95,7 @@
}
else {
// Already split on a border
line_to_destination(fr_mm_s);
buffer_line_to_destination(fr_mm_s);
set_current_from_destination();
return;
}