Browse Source

Updated release with GTX_matrix_transform_2d and added blank unit test file for the extension. (#176, #178)

Christophe Riccio 11 years ago
parent
commit
ae2af04599
3 changed files with 22 additions and 2 deletions
  1. 3 2
      readme.txt
  2. 1 0
      test/gtx/CMakeLists.txt
  3. 18 0
      test/gtx/gtx_matrix_transform_2d.cpp

+ 3 - 2
readme.txt

@@ -40,9 +40,10 @@ http://glm.g-truc.net/glm.pdf
 GLM 0.9.5.3: 2014-0X-XX
 --------------------------------------------------------------------------------
 - Added instruction set auto detection with Visual C++ using _M_IX86_FP - /arch
-  compiler argument.
+  compiler argument
 - Fixed GTX_raw_data code dependency
-- Fixed GCC instruction set detection.
+- Fixed GCC instruction set detection
+- Added GLM_GTX_matrix_transform_2d extension (#178, #176)
 
 ================================================================================
 GLM 0.9.5.2: 2014-02-08

+ 1 - 0
test/gtx/CMakeLists.txt

@@ -23,6 +23,7 @@ glmCreateTestGTC(gtx_matrix_interpolation)
 glmCreateTestGTC(gtx_matrix_major_storage)
 glmCreateTestGTC(gtx_matrix_operation)
 glmCreateTestGTC(gtx_matrix_query)
+glmCreateTestGTC(gtx_matrix_transform_2d)
 glmCreateTestGTC(gtx_multiple)
 glmCreateTestGTC(gtx_norm)
 glmCreateTestGTC(gtx_normal)

+ 18 - 0
test/gtx/gtx_matrix_transform_2d.cpp

@@ -0,0 +1,18 @@
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
+///////////////////////////////////////////////////////////////////////////////////////////////////
+// Created : 2014-02-21
+// Updated : 2014-02-21
+// Licence : This source is under MIT licence
+// File    : test/gtx/matrix_transform_2d.cpp
+///////////////////////////////////////////////////////////////////////////////////////////////////
+
+#define GLM_FORCE_RADIANS
+#include <glm/gtx/matrix_transform_2d.hpp>
+
+int main()
+{
+	int Error(0);
+
+	return Error;
+}