Hymn to Beauty
C++ 3D Engine
MousePicking.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <glm/glm.hpp>
4
5class Entity;
6namespace Utility {
7class Window;
8}
9
10namespace MousePicking {
11
13
18glm::vec3 GetRayDirection(const Entity* camera, const glm::mat4& projection, const Utility::Window* window);
19
20}
Entity containing various components.
Definition: Entity.hpp:16
Definition: Window.hpp:14
Definition: MousePicking.cpp:9
glm::vec3 GetRayDirection(const Entity *camera, const glm::mat4 &projection, const Utility::Window *window)
Get the direction of the ray in world space. Normalized.
Definition: MousePicking.cpp:34
Definition: ResourceView.hpp:12