Update quaternion.hpp
This commit is contained in:
@@ -185,7 +185,7 @@ namespace glm
|
|||||||
|
|
||||||
/// Build a look at quaternion based on the default handedness.
|
/// 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).
|
/// @param up Up vector, how the camera is oriented. Typically (0, 1, 0).
|
||||||
template<typename T, qualifier Q>
|
template<typename T, qualifier Q>
|
||||||
GLM_FUNC_DECL tquat<T, Q> quatLookAt(
|
GLM_FUNC_DECL tquat<T, Q> quatLookAt(
|
||||||
@@ -194,7 +194,7 @@ namespace glm
|
|||||||
|
|
||||||
/// Build a right-handed look at quaternion.
|
/// 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).
|
/// @param up Up vector, how the camera is oriented. Typically (0, 1, 0).
|
||||||
template<typename T, qualifier Q>
|
template<typename T, qualifier Q>
|
||||||
GLM_FUNC_DECL tquat<T, Q> quatLookAtRH(
|
GLM_FUNC_DECL tquat<T, Q> quatLookAtRH(
|
||||||
@@ -203,7 +203,7 @@ namespace glm
|
|||||||
|
|
||||||
/// Build a left-handed look at quaternion.
|
/// 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).
|
/// @param up Up vector, how the camera is oriented. Typically (0, 1, 0).
|
||||||
template<typename T, qualifier Q>
|
template<typename T, qualifier Q>
|
||||||
GLM_FUNC_DECL tquat<T, Q> quatLookAtLH(
|
GLM_FUNC_DECL tquat<T, Q> quatLookAtLH(
|
||||||
|
|||||||
Reference in New Issue
Block a user