|
|
|
@ -57,14 +57,14 @@ namespace gtx |
|
|
|
|
|
|
|
|
|
//! Builds a translation 4 * 4 matrix created from 3 scalars.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::translate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::translate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> translate( |
|
|
|
|
T x, T y, T z); |
|
|
|
|
|
|
|
|
|
//! Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::translate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::translate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> translate( |
|
|
|
|
detail::tmat4x4<T> const & m,
|
|
|
|
@ -72,14 +72,14 @@ namespace gtx |
|
|
|
|
|
|
|
|
|
//! Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::translate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::translate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> translate( |
|
|
|
|
detail::tvec3<T> const & v); |
|
|
|
|
|
|
|
|
|
//! Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::rotate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::rotate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> rotate( |
|
|
|
|
T angle,
|
|
|
|
@ -87,7 +87,7 @@ namespace gtx |
|
|
|
|
|
|
|
|
|
//! Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::rotate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::rotate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> rotate( |
|
|
|
|
T angle,
|
|
|
|
@ -95,7 +95,7 @@ namespace gtx |
|
|
|
|
|
|
|
|
|
//! Transforms a matrix with a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::rotate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::rotate GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> rotate( |
|
|
|
|
detail::tmat4x4<T> const & m,
|
|
|
|
@ -104,14 +104,14 @@ namespace gtx |
|
|
|
|
|
|
|
|
|
//! Builds a scale 4 * 4 matrix created from 3 scalars.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::scale GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::scale GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> scale( |
|
|
|
|
T x, T y, T z); |
|
|
|
|
|
|
|
|
|
//! Transforms a matrix with a scale 4 * 4 matrix created from 3 scalars.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::scale GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::scale GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> scale( |
|
|
|
|
detail::tmat4x4<T> const & m,
|
|
|
|
@ -119,7 +119,7 @@ namespace gtx |
|
|
|
|
|
|
|
|
|
//! Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.
|
|
|
|
|
//! - From \link gtx_transform GLM_GTX_transform \endlink extension
|
|
|
|
|
//! - See also: \link glm::gtc::matrix_transform::scale GLM_GTC_matrix_transform \endlink
|
|
|
|
|
//! - See also: \link glm::gtc::scale GLM_GTC_matrix_transform \endlink
|
|
|
|
|
template <typename T>
|
|
|
|
|
detail::tmat4x4<T> scale( |
|
|
|
|
detail::tvec3<T> const & v); |
|
|
|
|