diff options
Diffstat (limited to 'src/Movement/Move.h')
-rw-r--r-- | src/Movement/Move.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Movement/Move.h b/src/Movement/Move.h index d16b3e7e..a1414ada 100644 --- a/src/Movement/Move.h +++ b/src/Movement/Move.h @@ -283,10 +283,11 @@ private: uint32_t longestGcodeWaitInterval; // the longest we had to wait for a new GCode float tangents[3]; // Axis compensation - 90 degrees + angle gives angle between axes - float& tanXY = tangents[0]; - float& tanYZ = tangents[1]; - float& tanXZ = tangents[2]; - bool compensateXY; + bool compensateXY; // If true then we compensate for XY skew by adjusting the Y coordinate; else we adjust the X coordinate + + float tanXY() const noexcept { return tangents[0]; } + float tanYZ() const noexcept { return tangents[1]; } + float tanXZ() const noexcept { return tangents[2]; } HeightMap heightMap; // The grid definition in use and height map for G29 bed probing RandomProbePointSet probePoints; // G30 bed probe points |