Browse Source

Fixed space characters

Christophe Riccio 12 years ago
parent
commit
d2c0cf0a93
2 changed files with 26 additions and 26 deletions
  1. 7 7
      glm/core/type_float.hpp
  2. 19 19
      glm/core/type_int.hpp

+ 7 - 7
glm/core/type_float.hpp

@@ -76,20 +76,20 @@ namespace detail
 	typedef highp_float_t		highp_float;
 	typedef highp_float_t		highp_float;
 
 
 #if(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
 #if(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-	typedef mediump_float				float_t;
+	typedef mediump_float		float_t;
 #elif(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
 #elif(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-	typedef highp_float					float_t;
+	typedef highp_float			float_t;
 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-	typedef mediump_float				float_t;
+	typedef mediump_float		float_t;
 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
-	typedef lowp_float					float_t;
+	typedef lowp_float			float_t;
 #else
 #else
 #	error "GLM error: multiple default precision requested for floating-point types"
 #	error "GLM error: multiple default precision requested for floating-point types"
 #endif
 #endif
 
 
-	typedef detail::half				float16;
-	typedef float						float32;
-	typedef double						float64;
+	typedef detail::half		float16;
+	typedef float				float32;
+	typedef double				float64;
 
 
 	/// @}
 	/// @}
 
 

+ 19 - 19
glm/core/type_int.hpp

@@ -78,24 +78,24 @@ namespace detail
 		typedef uint64						uint64;
 		typedef uint64						uint64;
 #endif//
 #endif//
 	
 	
-	typedef signed short			lowp_int_t;
-	typedef signed int				mediump_int_t;
-	typedef int64					highp_int_t;
+	typedef signed short					lowp_int_t;
+	typedef signed int						mediump_int_t;
+	typedef int64							highp_int_t;
 	
 	
-	typedef unsigned short			lowp_uint_t;
-	typedef unsigned int			mediump_uint_t;
-	typedef uint64					highp_uint_t;
+	typedef unsigned short					lowp_uint_t;
+	typedef unsigned int					mediump_uint_t;
+	typedef uint64							highp_uint_t;
 }//namespace detail
 }//namespace detail
 
 
-	typedef detail::int8			int8;
-	typedef detail::int16			int16;
-	typedef detail::int32			int32;
-	typedef detail::int64			int64;
+	typedef detail::int8					int8;
+	typedef detail::int16					int16;
+	typedef detail::int32					int32;
+	typedef detail::int64					int64;
 	
 	
-	typedef detail::uint8			uint8;
-	typedef detail::uint16			uint16;
-	typedef detail::uint32			uint32;
-	typedef detail::uint64			uint64;
+	typedef detail::uint8					uint8;
+	typedef detail::uint16					uint16;
+	typedef detail::uint32					uint32;
+	typedef detail::uint64					uint64;
 
 
 	/// @addtogroup core_precision
 	/// @addtogroup core_precision
 	/// @{
 	/// @{
@@ -140,14 +140,14 @@ namespace detail
 	/// 
 	/// 
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
-	typedef detail::highp_uint_t				highp_uint;
+	typedef detail::highp_uint_t			highp_uint;
 
 
 #if(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
 #if(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
-	typedef mediump_int                 int_t;
+	typedef mediump_int					int_t;
 #elif(defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
 #elif(defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
 	typedef highp_int					int_t;
 	typedef highp_int					int_t;
 #elif(!defined(GLM_PRECISION_HIGHP_INT) && defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
 #elif(!defined(GLM_PRECISION_HIGHP_INT) && defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
-	typedef mediump_int                 int_t;
+	typedef mediump_int					int_t;
 #elif(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && defined(GLM_PRECISION_LOWP_INT))
 #elif(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && defined(GLM_PRECISION_LOWP_INT))
 	typedef lowp_int					int_t;
 	typedef lowp_int					int_t;
 #else
 #else
@@ -166,10 +166,10 @@ namespace detail
 #	error "GLM error: multiple default precision requested for unsigned interger types"
 #	error "GLM error: multiple default precision requested for unsigned interger types"
 #endif
 #endif
 
 
-	/// Unsigned integer type. 
+	/// Unsigned integer type.
 	/// 
 	/// 
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
 	/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.3 Integers</a>
-	typedef uint_t						uint;
+	typedef unsigned int				uint;
 
 
 	/// @}
 	/// @}