GLM Version 0.9.0

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 namespace glm{
00023 namespace gtx{
00025 namespace number_precision
00026 {
00027         using namespace gtc::type_precision;
00028 
00030         // Unsigned int vector types 
00031 
00032         typedef u8                      u8vec1;         
00033         typedef u16                     u16vec1;    
00034         typedef u32                     u32vec1;    
00035         typedef u64                     u64vec1;    
00036 
00038         // Float vector types 
00039 
00040         typedef f16                     f16vec1;    
00041         typedef f32                     f32vec1;    
00042         typedef f64                     f64vec1;    
00043 
00045         // Float matrix types 
00046 
00047         typedef f16                     f16mat1;    
00048         typedef f16                     f16mat1x1;      
00049         typedef f32                     f32mat1;        
00050         typedef f32                     f32mat1x1;      
00051         typedef f64                     f64mat1;        
00052         typedef f64                     f64mat1x1;      
00053 
00054 }//namespace number_precision
00055 }//namespace gtx
00056 }//namespace glm
00057 
00058 #include "number_precision.inl"
00059 
00060 namespace glm{using namespace gtx::number_precision;}
00061 
00062 #endif//glm_gtx_number_precision