Namespaces | Functions

MatrixConvert.h File Reference

#include <boost/mpl/for_each.hpp>
#include <boost/mpl/range_c.hpp>
#include <boost/lambda/lambda.hpp>
#include <gmtl/Matrix.h>
Include dependency graph for MatrixConvert.h:

Go to the source code of this file.

Namespaces

namespace  gmtl
 

Meta programming classes.


Functions

template<typename DATA_TYPE_OUT , typename DATA_TYPE_IN , unsigned ROWS, unsigned COLS>
gmtl::Matrix< DATA_TYPE_OUT,
ROWS, COLS > 
gmtl::convertTo (const gmtl::Matrix< DATA_TYPE_IN, ROWS, COLS > &in)
 Converts a matrix of one data type to another, such as gmtl::Matrix44f to gmtl::Matrix44d.