- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

number_precision.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2007-05-10
    00005 // Updated : 2009-06-04
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/number_precision.hpp
    00009 // Dependency:
    00010 // - GLM core
    00011 // - GLM_GTC_type_precision
    00012 // - GLM_GTC_quaternion
    00014
    00015 #ifndef glm_gtx_number_precision
    00016 #define glm_gtx_number_precision
    00017
    00018 // Dependency:
    00019 #include "../glm.hpp"
    00020 #include "../gtc/type_precision.hpp"
    00021
    00022 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00023 #       pragma message("GLM: GLM_GTX_number_precision extension included")
    00024 #endif
    00025
    00026 namespace glm{
    00027 namespace gtx{
    00028 namespace number_precision
    00029 {
    00030         using namespace gtc::type_precision;
    00031
    00033         // Unsigned int vector types
    00034
    00037
    00038         typedef u8                      u8vec1;
    00039         typedef u16                     u16vec1;
    00040         typedef u32                     u32vec1;
    00041         typedef u64                     u64vec1;
    00042
    00044         // Float vector types
    00045
    00046         typedef f16                     f16vec1;
    00047         typedef f32                     f32vec1;
    00048         typedef f64                     f64vec1;
    00049
    00051         // Float matrix types
    00052
    00053         typedef f16                     f16mat1;
    00054         typedef f16                     f16mat1x1;
    00055         typedef f32                     f32mat1;
    00056         typedef f32                     f32mat1x1;
    00057         typedef f64                     f64mat1;
    00058         typedef f64                     f64mat1x1;
    00059
    00061 }//namespace number_precision
    00062 }//namespace gtx
    00063 }//namespace glm
    00064
    00065 #include "number_precision.inl"
    00066
    00067 namespace glm{using namespace gtx::number_precision;}
    00068
    00069 #endif//glm_gtx_number_precision