- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

matrix_access.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-27
    00005 // Updated : 2010-11-12
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtc/matrix_access.hpp
    00009 // Dependency:
    00010 // - GLM core
    00012
    00013 #ifndef glm_gtc_matrix_access
    00014 #define glm_gtc_matrix_access
    00015
    00016 // Dependency:
    00017 #include "../glm.hpp"
    00018
    00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00020 #       pragma message("GLM: GLM_GTC_matrix_access extension included")
    00021 #endif
    00022
    00023 namespace glm{
    00024 namespace gtc{
    00025 namespace matrix_access
    00026 {
    00029
    00032         template <typename genType>
    00033         typename genType::row_type row(
    00034                 genType const & m,
    00035                 int index);
    00036
    00039     template <typename genType>
    00040         genType row(
    00041                 genType const & m,
    00042                 int index,
    00043                 typename genType::row_type const & x);
    00044
    00047         template <typename genType>
    00048         typename genType::col_type column(
    00049                 genType const & m,
    00050                 int index);
    00051
    00054         template <typename genType>
    00055         genType column(
    00056                 genType const & m,
    00057                 int index,
    00058                 typename genType::col_type const & x);
    00059
    00061
    00062 }//namespace matrix_access
    00063 }//namespace gtc
    00064 }//namespace glm
    00065
    00066 #include "matrix_access.inl"
    00067
    00068 namespace glm{using namespace gtc::matrix_access;}
    00069
    00070 #endif//glm_gtc_matrix_access