matrix_interpolation.hpp

00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2011-03-05
00005 // Updated : 2011-03-05
00006 // Licence : This source is under MIT License
00007 // File    : glm/gtx/matrix_interpolation.hpp
00009 // Dependency:
00010 // - GLM core
00011 // - GLM_GTX_matric_interpolation
00013 // This extension has been written by Ghenadii Ursachi (the.asteroth@gmail.com)
00015 
00016 #ifndef glm_gtx_matrix_interpolation
00017 #define glm_gtx_matrix_interpolation
00018 
00019 // Dependency:
00020 //#include "../glm.hpp"
00021 
00022 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00023 #       pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
00024 #endif
00025 
00026 namespace glm
00027 {
00028         namespace test{
00029                 void main_gtx_transform();
00030         }//namespace test
00031 
00032         namespace gtx{
00034         namespace matrix_interpolation
00035         {
00038 
00041                 template <typename T>
00042         void axisAngle(
00043             detail::tmat4x4<T> const & mat,
00044             detail::tvec3<T> & axis,
00045             T & angle);
00046 
00049                 template <typename T>
00050         detail::tmat4x4<T> axisAngleMatrix(
00051             detail::tvec3<T> const & axis,
00052             T const angle);
00053 
00057                 template <typename T>
00058         detail::tmat4x4<T> interpolate(
00059             detail::tmat4x4<T> const & m1,
00060             detail::tmat4x4<T> const & m2,
00061             T const delta);
00062 
00064 
00065         }//namespace matrix_interpolation
00066         }//namespace gtx
00067 }//namespace glm
00068 
00069 #include "matrix_interpolation.inl"
00070 
00071 namespace glm{using namespace gtx::matrix_interpolation;}
00072 
00073 #endif//glm_gtx_transform