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
5
class
Entity
;
6
namespace
Utility
{
7
class
Window;
8
}
9
10
namespace
MousePicking
{
11
13
18
glm::vec3
GetRayDirection
(
const
Entity
* camera,
const
glm::mat4& projection,
const
Utility::Window
* window);
19
20
}
Entity
Entity containing various components.
Definition:
Entity.hpp:16
Utility::Window
Definition:
Window.hpp:14
MousePicking
Definition:
MousePicking.cpp:9
MousePicking::GetRayDirection
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
Utility
Definition:
ResourceView.hpp:12
src
Engine
Util
MousePicking.hpp
Generated by
1.9.2