blob: c79446170ee91eee5db994af2fb377211630582d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "config/types.h"
#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 &, BaryPosition &, RelativeDistance &) const = 0;
};
|