- Main Page
- Namespaces
- Files

- File List

# matrix_access.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2009 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-27
    00005 // Updated : 2006-12-06
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/matrix_access.hpp
    00009 // Dependency:
    00010 // - GLM core
    00012
    00013 #ifndef glm_gtx_matrix_access
    00014 #define glm_gtx_matrix_access
    00015
    00016 // Dependency:
    00017 #include "../glm.hpp"
    00018
    00019 namespace glm{
    00020 namespace gtx{
    00022 namespace matrix_access
    00023 {
    00026     template <typename genType>
    00027         genType row(
    00028                 const genType& m,
    00029                 int index,
    00030                 typename genType::row_type const & x);
    00031
    00034         template <typename genType>
    00035         genType column(
    00036                 const genType& m,
    00037                 int index,
    00038                 typename genType::col_type const & x);
    00039
    00040 }//namespace matrix_access
    00041 }//namespace gtx
    00042 }//namespace glm
    00043
    00044 #define GLM_GTX_matrix_access namespace gtx::matrix_access
    00045 #ifndef GLM_GTX_GLOBAL
    00046 namespace glm {using GLM_GTX_matrix_access;}
    00047 #endif//GLM_GTX_GLOBAL
    00048
    00049 #include "matrix_access.inl"
    00050
    00051 #endif//glm_gtx_matrix_access