mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[wpimath] Remove redundant parentheses in TransformBy() (#8419)
This commit is contained in:
@@ -314,7 +314,7 @@ constexpr Transform3d Pose3d::operator-(const Pose3d& other) const {
|
||||
}
|
||||
|
||||
constexpr Pose3d Pose3d::TransformBy(const Transform3d& other) const {
|
||||
return {m_translation + (other.Translation().RotateBy(m_rotation)),
|
||||
return {m_translation + other.Translation().RotateBy(m_rotation),
|
||||
other.Rotation() + m_rotation};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user