|
Engine²
Open-source game engine written in C++.
|
#include <glm/glm.hpp>#include <glm/gtc/quaternion.hpp>#include <glm/gtx/quaternion.hpp>Go to the source code of this file.
Namespaces | |
| namespace | CameraMovement |
| namespace | CameraMovement::Utils |
Macros | |
| #define | GLM_ENABLE_EXPERIMENTAL |
Functions | |
| glm::quat | CameraMovement::Utils::ComputeLookAtQuaternion (const glm::vec3 &eye, const glm::vec3 &target, const glm::vec3 &up) |
| Compute a quaternion that represents a "look at" rotation. | |
| glm::quat | CameraMovement::Utils::RotateQuaternion (const glm::quat ¤t, float pitch, float yaw) |
| Apply pitch and yaw rotation to a quaternion. | |
| glm::vec3 | CameraMovement::Utils::GetRightVector (const glm::quat &rotation) |
| Get the right vector from a quaternion rotation. | |
| glm::vec3 | CameraMovement::Utils::GetUpVector (const glm::quat &rotation) |
| Get the up vector from a quaternion rotation. | |
| glm::vec3 | CameraMovement::Utils::GetForwardVector (const glm::quat &rotation) |
| Get the forward vector from a quaternion rotation. | |
| #define GLM_ENABLE_EXPERIMENTAL |