Browse Source

Updated test

Christophe Riccio 14 years ago
parent
commit
3ef4497635
1 changed files with 8 additions and 0 deletions
  1. 8 0
      test/gtc/gtc_type_ptr.cpp

+ 8 - 0
test/gtc/gtc_type_ptr.cpp

@@ -11,9 +11,17 @@
 #include <glm/glm.hpp>
 #include <glm/glm.hpp>
 #include <glm/gtc/matrix_transform.hpp>
 #include <glm/gtc/matrix_transform.hpp>
 
 
+bool test_make_pointer()
+{
+    float ArrayA[] = {1, 2, 3, 4};
+    glm::vec4 Vec4A = glm::make_vec4(ArrayA);
+}
+
 int main()
 int main()
 {
 {
 	int Failed = 0;
 	int Failed = 0;
+    
+    Failed += test_make_pointer() ? 0 : 1;
 
 
 	return Failed;
 	return Failed;
 }
 }