Added lidar opponent tracking

This commit is contained in:
Pimpest authored and Pimpest committed 2025-05-07 09:47:47 +00:00
1 parent abf5717286
commit 50106a439b
4 files changed
+223 -1

No files matched your search

+1 -1
View File
@@ -153,7 +153,7 @@ namespace mg {
double ObstacleManager::dist_to_bounds(glm::dvec2 pos, glm::dvec2 size, double rot) {
// Find me
const glm::dmat2 rot_mat{ { glm::cos(rot), -glm::sin(rot) }, { glm::sin(rot), glm::cos(rot) } };
const glm::dmat2 rot_mat{ { glm::cos(rot), glm::sin(rot) }, { -glm::sin(rot), glm::cos(rot) } };
return ObstacleManager::dist_to_bounds(pos, size, rot_mat);
}