소스 검색

Clean up GLM_FORCE_DEFAULT_ALIGNED_GENTYPES

Christophe Riccio 7 년 전
부모
커밋
7c445ee93d
3개의 변경된 파일10개의 추가작업 그리고 11개의 파일을 삭제
  1. 9 9
      test/core/core_force_pure.cpp
  2. 0 1
      test/core/core_type_vec4.cpp
  3. 1 1
      test/gtc/gtc_random.cpp

+ 9 - 9
test/core/core_force_pure.cpp

@@ -1,7 +1,7 @@
 #ifndef GLM_FORCE_PURE
 #	define GLM_FORCE_PURE
 #endif//GLM_FORCE_PURE
-#define GLM_FORCE_ALIGNED
+#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
 #define GLM_FORCE_SWIZZLE
 #include <glm/ext/vector_relational.hpp>
 #include <glm/vector_relational.hpp>
@@ -12,7 +12,7 @@
 #include <ctime>
 #include <vector>
 
-int test_vec4_ctor()
+static int test_vec4_ctor()
 {
 	int Error = 0;
 
@@ -138,7 +138,7 @@ int test_vec4_ctor()
 	return Error;
 }
 
-int test_bvec4_ctor()
+static int test_bvec4_ctor()
 {
 	int Error = 0;
 
@@ -162,7 +162,7 @@ int test_bvec4_ctor()
 	return Error;
 }
 
-int test_vec4_operators()
+static int test_vec4_operators()
 {
 	int Error = 0;
 	
@@ -298,7 +298,7 @@ int test_vec4_operators()
 	return Error;
 }
 
-int test_vec4_equal()
+static int test_vec4_equal()
 {
 	int Error = 0;
 
@@ -319,7 +319,7 @@ int test_vec4_equal()
 	return Error;
 }
 
-int test_vec4_size()
+static int test_vec4_size()
 {
 	int Error = 0;
 
@@ -337,7 +337,7 @@ int test_vec4_size()
 	return Error;
 }
 
-int test_vec4_swizzle_partial()
+static int test_vec4_swizzle_partial()
 {
 	int Error = 0;
 
@@ -375,7 +375,7 @@ int test_vec4_swizzle_partial()
 	return Error;
 }
 
-int test_operator_increment()
+static int test_operator_increment()
 {
 	int Error(0);
 
@@ -429,7 +429,7 @@ namespace heap
 	}
 }//namespace heap
 
-int test_vec4_simd()
+static int test_vec4_simd()
 {
 	int Error = 0;
 

+ 0 - 1
test/core/core_type_vec4.cpp

@@ -1,4 +1,3 @@
-#define GLM_FORCE_ALIGNED
 #define GLM_FORCE_SWIZZLE
 #include <glm/gtc/constants.hpp>
 #include <glm/gtc/vec1.hpp>

+ 1 - 1
test/gtc/gtc_random.cpp

@@ -1,4 +1,4 @@
-#define GLM_FORCE_ALIGNED
+#define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
 #include <glm/gtc/random.hpp>
 #include <glm/gtc/epsilon.hpp>
 #include <glm/gtc/type_precision.hpp>