diff --git a/wpimath/src/main/native/include/wpi/math/geometry/Pose3d.hpp b/wpimath/src/main/native/include/wpi/math/geometry/Pose3d.hpp index 9414e1ca5a..90b858e175 100644 --- a/wpimath/src/main/native/include/wpi/math/geometry/Pose3d.hpp +++ b/wpimath/src/main/native/include/wpi/math/geometry/Pose3d.hpp @@ -155,7 +155,7 @@ class WPILIB_DLLEXPORT Pose3d { * * @param scalar The scalar. * - * @return The new scaled Pose2d. + * @return The new scaled Pose3d. */ constexpr Pose3d operator*(double scalar) const { return Pose3d{m_translation * scalar, m_rotation * scalar}; @@ -166,7 +166,7 @@ class WPILIB_DLLEXPORT Pose3d { * * @param scalar The scalar. * - * @return The new scaled Pose2d. + * @return The new scaled Pose3d. */ constexpr Pose3d operator/(double scalar) const { return *this * (1.0 / scalar); diff --git a/wpimath/src/main/native/include/wpi/math/geometry/Translation3d.hpp b/wpimath/src/main/native/include/wpi/math/geometry/Translation3d.hpp index 26039566ca..83b537dff1 100644 --- a/wpimath/src/main/native/include/wpi/math/geometry/Translation3d.hpp +++ b/wpimath/src/main/native/include/wpi/math/geometry/Translation3d.hpp @@ -123,7 +123,7 @@ class WPILIB_DLLEXPORT Translation3d { /** * Returns the X component of the translation. * - * @return The Z component of the translation. + * @return The X component of the translation. */ constexpr wpi::units::meter_t X() const { return m_x; }