|
Hymn to Beauty
C++ 3D Engine
|
Functions | |
| glm::vec3 | GetRayDirection (const Entity *camera, const glm::mat4 &projection, const Utility::Window *window) |
| Get the direction of the ray in world space. Normalized. More... | |
| glm::vec3 MousePicking::GetRayDirection | ( | const Entity * | camera, |
| const glm::mat4 & | projection, | ||
| const Utility::Window * | window | ||
| ) |
Get the direction of the ray in world space. Normalized.
| camera | The camera the mouse picking makes calculations from. |
| projection | The camera's projection matrix. |
| window | The window to pick in. |