Browse Source

Updated quaternion test files

Christophe Riccio 14 years ago
parent
commit
1aaf0525ea
3 changed files with 20 additions and 1 deletions
  1. 1 1
      test/gtc/gtc_quaternion.cpp
  2. 1 0
      test/gtx/CMakeLists.txt
  3. 18 0
      test/gtx/gtx_quaternion.cpp

+ 1 - 1
test/gtc/gtc_quaternion.cpp

@@ -2,7 +2,7 @@
 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 // Created : 2010-09-16
-// Updated : 2010-05-07
+// Updated : 2011-05-25
 // Licence : This source is under MIT licence
 // File    : test/gtc/quaternion.cpp
 ///////////////////////////////////////////////////////////////////////////////////////////////////

+ 1 - 0
test/gtx/CMakeLists.txt

@@ -1,5 +1,6 @@
 glmCreateTestGTC(gtx_bit)
 glmCreateTestGTC(gtx_noise)
+glmCreateTestGTC(gtx_quaternion)
 glmCreateTestGTC(gtx_rotate_vector)
 glmCreateTestGTC(gtx_simd_vec4)
 glmCreateTestGTC(gtx_simd_mat4)

+ 18 - 0
test/gtx/gtx_quaternion.cpp

@@ -0,0 +1,18 @@
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// Created : 2010-09-16
+// Updated : 2010-05-07
+// Licence : This source is under MIT licence
+// File    : test/gtc/quaternion.cpp
+///////////////////////////////////////////////////////////////////////////////////////////////////
+
+#include <glm/glm.hpp>
+#include <glm/gtc/quaternion.hpp>
+
+int main()
+{
+	int Error = 0;
+
+	return Error;
+}