blob: 0104f3d669b5036e70d4fb75394fcd6b4c3df012 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#pragma once
#include <glm/glm.hpp>
#include <special_members.hpp>
class Selectable {
public:
Selectable() = default;
virtual ~Selectable() = default;
DEFAULT_MOVE_COPY(Selectable);
[[nodiscard]] virtual bool intersectRay(const glm::vec3 &, const glm::vec3 &, glm::vec2 *, float *) const = 0;
};
|