summaryrefslogtreecommitdiff
path: root/game/selectable.h
blob: 3d734f39dcf6ecdf27303bb387f1261085696bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <glm/glm.hpp>
#include <special_members.hpp>

class Ray;

class Selectable {
public:
	Selectable() = default;
	virtual ~Selectable() = default;
	DEFAULT_MOVE_COPY(Selectable);

	[[nodiscard]] virtual bool intersectRay(const Ray &, glm::vec2 *, float *) const = 0;
};