mirror of
https://github.com/g-truc/glm.git
synced 2025-04-08 06:43:10 +00:00
Update quaternion.hpp
This commit is contained in:
parent
13ccb5154f
commit
1fe48f0d09
1 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ namespace glm
|
|||
|
||||
/// Build a look at quaternion based on the default handedness.
|
||||
///
|
||||
/// @param direction Desired direction of the camera.
|
||||
/// @param direction Desired forward direction. Needs to be normalized.
|
||||
/// @param up Up vector, how the camera is oriented. Typically (0, 1, 0).
|
||||
template<typename T, qualifier Q>
|
||||
GLM_FUNC_DECL tquat<T, Q> quatLookAt(
|
||||
|
@ -194,7 +194,7 @@ namespace glm
|
|||
|
||||
/// Build a right-handed look at quaternion.
|
||||
///
|
||||
/// @param direction Desired direction of the camera.
|
||||
/// @param direction Desired forward direction onto which the -z-axis gets mapped. Needs to be normalized.
|
||||
/// @param up Up vector, how the camera is oriented. Typically (0, 1, 0).
|
||||
template<typename T, qualifier Q>
|
||||
GLM_FUNC_DECL tquat<T, Q> quatLookAtRH(
|
||||
|
@ -203,7 +203,7 @@ namespace glm
|
|||
|
||||
/// Build a left-handed look at quaternion.
|
||||
///
|
||||
/// @param direction Desired direction onto which the +z-axis gets mapped
|
||||
/// @param direction Desired forward direction onto which the +z-axis gets mapped. Needs to be normalized.
|
||||
/// @param up Up vector, how the camera is oriented. Typically (0, 1, 0).
|
||||
template<typename T, qualifier Q>
|
||||
GLM_FUNC_DECL tquat<T, Q> quatLookAtLH(
|
||||
|
|
Loading…
Add table
Reference in a new issue