소스 검색

Updated test

Christophe Riccio 14 년 전
부모
커밋
3ef4497635
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  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/gtc/matrix_transform.hpp>
 
+bool test_make_pointer()
+{
+    float ArrayA[] = {1, 2, 3, 4};
+    glm::vec4 Vec4A = glm::make_vec4(ArrayA);
+}
+
 int main()
 {
 	int Failed = 0;
+    
+    Failed += test_make_pointer() ? 0 : 1;
 
 	return Failed;
 }