00001 
00002 
00004 
00005 
00006 
00007 
00009 
00010 
00011 
00012 
00014 
00015 #ifndef glm_gtx_number_precision
00016 #define glm_gtx_number_precision
00017 
00018 
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         
00034 
00037 
00038         typedef u8                      u8vec1;         
00039         typedef u16                     u16vec1;    
00040         typedef u32                     u32vec1;    
00041         typedef u64                     u64vec1;    
00042 
00044         
00045 
00046         typedef f16                     f16vec1;    
00047         typedef f32                     f32vec1;    
00048         typedef f64                     f64vec1;    
00049 
00051         
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 }
00062 }
00063 }
00064 
00065 #include "number_precision.inl"
00066 
00067 namespace glm{using namespace gtx::number_precision;}
00068 
00069 #endif//glm_gtx_number_precision