GLM Version 0.9.0
Functions

glm::gtx::transform Namespace Reference

GLM_GTX_transform extension: Add transformation matrices. More...

Functions

template<typename T >
detail::tmat4x4< T > rotate (T angle, T x, T y, T z)
 Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.
template<typename T >
detail::tmat4x4< T > rotate (T angle, detail::tvec3< T > const &v)
 Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.
template<typename T >
detail::tmat4x4< T > rotate (detail::tmat4x4< T > const &m, T angle, T x, T y, T z)
 Transforms a matrix with a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.
template<typename T >
detail::tmat4x4< T > scale (detail::tvec3< T > const &v)
 Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.
template<typename T >
detail::tmat4x4< T > scale (detail::tmat4x4< T > const &m, T x, T y, T z)
 Transforms a matrix with a scale 4 * 4 matrix created from 3 scalars.
template<typename T >
detail::tmat4x4< T > scale (T x, T y, T z)
 Builds a scale 4 * 4 matrix created from 3 scalars.
template<typename T >
detail::tmat4x4< T > translate (detail::tmat4x4< T > const &m, T x, T y, T z)
 Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.
template<typename T >
detail::tmat4x4< T > translate (T x, T y, T z)
 Builds a translation 4 * 4 matrix created from 3 scalars.
template<typename T >
detail::tmat4x4< T > translate (detail::tvec3< T > const &v)
 Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.

Detailed Description

GLM_GTX_transform extension: Add transformation matrices.


Function Documentation

detail::tmat4x4<T> glm::gtx::transform::rotate ( angle,
x,
y,
z 
)

Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::rotate ( angle,
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 GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::rotate ( detail::tmat4x4< T > const &  m,
angle,
x,
y,
z 
)

Transforms a matrix with a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::scale ( detail::tvec3< T > const &  v)

Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::scale ( detail::tmat4x4< T > const &  m,
x,
y,
z 
)

Transforms a matrix with a scale 4 * 4 matrix created from 3 scalars.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::scale ( x,
y,
z 
)

Builds a scale 4 * 4 matrix created from 3 scalars.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::translate ( detail::tmat4x4< T > const &  m,
x,
y,
z 
)

Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::translate ( x,
y,
z 
)

Builds a translation 4 * 4 matrix created from 3 scalars.

From GLM_GTX_transform extension.

detail::tmat4x4<T> glm::gtx::transform::translate ( detail::tvec3< T > const &  v)

Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.

From GLM_GTX_transform extension.