summaryrefslogtreecommitdiff
path: root/game/selectable.h
blob: 31287d8b9df252806831ae3c02177a6d6e3e850f (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.h>

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;
};