|
|
|
|
1241
|
out_mesh.distance = -99999.9f;
|
1241
|
out_mesh.distance = -99999.9f;
|
1242
|
|
1242
|
|
1243
|
// Get our reference position. Either the nozzle or probe location.
|
1243
|
// Get our reference position. Either the nozzle or probe location.
|
1244
|
- const float px = rx - (probe_as_reference == USE_PROBE_AS_REFERENCE ? X_PROBE_OFFSET_FROM_EXTRUDER : 0),
|
|
|
1245
|
- py = ry - (probe_as_reference == USE_PROBE_AS_REFERENCE ? Y_PROBE_OFFSET_FROM_EXTRUDER : 0);
|
|
|
|
|
1244
|
+ const float px = rx + (probe_as_reference == USE_PROBE_AS_REFERENCE ? X_PROBE_OFFSET_FROM_EXTRUDER : 0),
|
|
|
1245
|
+ py = ry + (probe_as_reference == USE_PROBE_AS_REFERENCE ? Y_PROBE_OFFSET_FROM_EXTRUDER : 0);
|
1246
|
|
1246
|
|
1247
|
float best_so_far = 99999.99f;
|
1247
|
float best_so_far = 99999.99f;
|
1248
|
|
1248
|
|