diff --git a/SimoxUtility/shapes/OrientedBoxBase.h b/SimoxUtility/shapes/OrientedBoxBase.h index 2fbeee1e0fe99ec6da22ada3ffe60d0e9ce57e1f..c60d314bc02a5377d5b196e491228031bd27e7a8 100644 --- a/SimoxUtility/shapes/OrientedBoxBase.h +++ b/SimoxUtility/shapes/OrientedBoxBase.h @@ -341,7 +341,7 @@ namespace simox { throw std::invalid_argument{"corner has to be in [0, 7]"}; } - const Eigen::Vector3f b + const vector_t b { (c % 2) ? 0 : _d(0), ((c / 2) % 2) ? 0 : _d(1), @@ -357,7 +357,7 @@ namespace simox std::vector<vector_t> corners() const { - std::vector<Eigen::Vector3f> points; + std::vector<vector_t> points; points.reserve(8); for (std::uint8_t i = 0; i < 8; ++i) {