12 #include <glm/glm.hpp>
29 Collider(
const glm::vec2 &position,
const glm::vec2 &size)
38 virtual bool inside(
const glm::vec2 &point)
const = 0;
Collider(const glm::vec2 &position, const glm::vec2 &size)
Definition: collider.h:29
glm::vec2 position_
Definition: collider.h:23
virtual bool collides(const Collider &collider) const =0
virtual bool inside(const glm::vec2 &point) const =0
glm::vec2 size_
Definition: collider.h:26
Definition: collider.h:19