mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-06 03:31:43 +00:00
SCRIPT: wpiformat
This commit is contained in:
committed by
Peter Johnson
parent
ae6bdc9d25
commit
2109161534
@@ -143,7 +143,8 @@ class Spline {
|
||||
* @return The Translation2d.
|
||||
*/
|
||||
static constexpr Translation2d FromVector(const Eigen::Vector2d& vector) {
|
||||
return Translation2d{wpi::units::meter_t{vector(0)}, wpi::units::meter_t{vector(1)}};
|
||||
return Translation2d{wpi::units::meter_t{vector(0)},
|
||||
wpi::units::meter_t{vector(1)}};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user