Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
CastRay.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "utils/HitRecord.hpp"
4#include <glm/vec3.hpp>
5#include <optional>
6
7namespace Engine {
8class Core;
9}
10
11namespace Physics::Utils {
12class Ray;
13std::optional<HitRecord> CastRay(const Engine::Core &core, const Ray &ray, float maxDistance);
14} // namespace Physics::Utils
The core is the place where all the data of the engine is stored. It contains the registry (entities)...
Definition Core.hpp:33
Definition Core.hpp:17
Definition BiMap.hpp:7
std::optional< HitRecord > CastRay(const Engine::Core &core, const Ray &ray, float maxDistance)
Definition CastRay.cpp:9
Definition Ray.hpp:6