Browse Source

Change the value_type of simdVec4 and simdQuat to a float

- Having it as __m128 didn't quite feel consistent with vec4/quat
Jesse Talavera-Greenberg 10 years ago
parent
commit
c2b4e2a5c0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      glm/gtx/simd_quat.hpp
  2. 1 1
      glm/gtx/simd_vec4.hpp

+ 1 - 1
glm/gtx/simd_quat.hpp

@@ -69,7 +69,7 @@ namespace detail
 {
 	GLM_ALIGNED_STRUCT(16) fquatSIMD
 	{
-		typedef __m128 value_type;
+		typedef float value_type;
 		typedef std::size_t size_type;
 		static size_type value_size();
 

+ 1 - 1
glm/gtx/simd_vec4.hpp

@@ -92,7 +92,7 @@ namespace detail
 	/// \ingroup gtx_simd_vec4
 	GLM_ALIGNED_STRUCT(16) fvec4SIMD
 	{
-		typedef __m128 value_type;
+		typedef float value_type;
 		typedef std::size_t size_type;
 		static size_type value_size();