8 lines
240 B
C++
8 lines
240 B
C++
#include "mg_planner/obstacleManager.hpp"
|
|
#include "mg_planner/config.hpp"
|
|
|
|
namespace mg {
|
|
bool check_collision(glm::ivec2 pos, float size) {
|
|
return (pos.x >= MIN_X && pos.x < MAX_X) && (pos.y >= MIN_Y && pos.y < MAX_Y);
|
|
}
|
|
} |