type_mat.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# type_mat.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2010-01-26
    00005 // Updated : 2010-01-26
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/core/type_mat.hpp
    00009
    00010 #ifndef glm_core_type_mat
    00011 #define glm_core_type_mat
    00012
    00013 #include "type_gentype.hpp"
    00014
    00015 namespace glm{
    00016 namespace detail
    00017 {
    00018         //template
    00019         //<
    00020         //      typename T,
    00021         //      template <typename> class C,
    00022         //      template <typename> class R
    00023         //>
    00024         //struct matType
    00025         //{
    00026         //      enum ctor{null};
    00027         //      typedef T value_type;
    00028         //      typedef std::size_t size_type;
    00029         //      typedef C<T> col_type;
    00030         //      typedef R<T> row_type;
    00031         //      static size_type const col_size;
    00032         //      static size_type const row_size;
    00033         //};
    00034
    00035         //template
    00036         //<
    00037         //      typename T,
    00038         //      template <typename> class C,
    00039         //      template <typename> class R
    00040         //>
    00041         //typename matType<T, C, R>::size_type const
    00042         //matType<T, C, R>::col_size = matType<T, C, R>::col_type::value_size;
    00043
    00044         //template
    00045         //<
    00046         //      typename T,
    00047         //      template <typename> class C,
    00048         //      template <typename> class R
    00049         //>
    00050         //typename matType<T, C, R>::size_type const
    00051         //matType<T, C, R>::row_size = matType<T, C, R>::row_type::value_size;
    00052
    00053 }//namespace detail
    00054 }//namespace glm
    00055
    00056 #endif//glm_core_type_mat