#include <cml/mathlib/checking.h>
Go to the source code of this file.
Namespaces | |
namespace | cml |
Functions | |
template<class MatT > | |
void | cml::matrix_get_translation (const MatT &m, typename MatT::value_type &t1, typename MatT::value_type &t2, typename MatT::value_type &t3) |
Get the translation of a 3D affine transform. | |
template<class MatT > | |
vector< typename MatT::value_type, fixed< 3 > > | cml::matrix_get_translation (const MatT &m) |
Get the translation of a 3D affine transform. | |
template<class MatT > | |
void | cml::matrix_get_translation_2D (const MatT &m, typename MatT::value_type &t1, typename MatT::value_type &t2) |
Get the translation of a 2D affine transform. | |
template<class MatT > | |
vector< typename MatT::value_type, fixed< 2 > > | cml::matrix_get_translation_2D (const MatT &m) |
Get the translation of a 2D affine transform. | |
template<class MatT > | |
vector< typename MatT::value_type, fixed< 3 > > | cml::matrix_get_view_translation (const MatT &m) |
Get the translation of a 3D affine transform. | |
template<typename E , class A , class B , class L , class VecT > | |
void | cml::matrix_set_translation (matrix< E, A, B, L > &m, const VecT &translation) |
Set the translation of a 3D affine transform from a 3D or 2D vector. | |
template<typename E , class A , class B , class L > | |
void | cml::matrix_set_translation (matrix< E, A, B, L > &m, E x, E y) |
Set the translation of a 3D affine transform with z set to 0. | |
template<typename E , class A , class B , class L > | |
void | cml::matrix_set_translation (matrix< E, A, B, L > &m, E x, E y, E z) |
Set the translation of a 3D affine transform. | |
template<typename E , class A , class B , class L , class VecT > | |
void | cml::matrix_set_translation_2D (matrix< E, A, B, L > &m, const VecT &translation) |
Set the translation of a 2D affine transform from a 2D vector. | |
template<typename E , class A , class B , class L > | |
void | cml::matrix_set_translation_2D (matrix< E, A, B, L > &m, E x, E y) |
Set the translation of a 2D affine transform. |
Definition in file matrix_translation.h.