- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

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 namespace gtx{
    00028 namespace matrix_interpolation
    00029 {
    00032
    00035         template <typename T>
    00036     void axisAngle(
    00037         detail::tmat4x4<T> const & mat,
    00038         detail::tvec3<T> & axis,
    00039         T & angle);
    00040
    00043         template <typename T>
    00044     detail::tmat4x4<T> axisAngleMatrix(
    00045         detail::tvec3<T> const & axis,
    00046         T const angle);
    00047
    00051         template <typename T>
    00052     detail::tmat4x4<T> interpolate(
    00053         detail::tmat4x4<T> const & m1,
    00054         detail::tmat4x4<T> const & m2,
    00055         T const delta);
    00056
    00058 }//namespace matrix_interpolation
    00059 }//namespace gtx
    00060 }//namespace glm
    00061
    00062 #include "matrix_interpolation.inl"
    00063
    00064 namespace glm{using namespace gtx::matrix_interpolation;}
    00065
    00066 #endif//glm_gtx_transform