From ae2af045999a28d497b0cc9663d6c7bbf5b9649e Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Fri, 21 Feb 2014 02:15:35 +0100 Subject: [PATCH] Updated release with GTX_matrix_transform_2d and added blank unit test file for the extension. (#176, #178) --- readme.txt | 5 +++-- test/gtx/CMakeLists.txt | 1 + test/gtx/gtx_matrix_transform_2d.cpp | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 test/gtx/gtx_matrix_transform_2d.cpp diff --git a/readme.txt b/readme.txt index 3dfa4ff4..fccddb65 100644 --- a/readme.txt +++ b/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 diff --git a/test/gtx/CMakeLists.txt b/test/gtx/CMakeLists.txt index d3ba66a6..c0dda185 100644 --- a/test/gtx/CMakeLists.txt +++ b/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) diff --git a/test/gtx/gtx_matrix_transform_2d.cpp b/test/gtx/gtx_matrix_transform_2d.cpp new file mode 100644 index 00000000..d983e4fc --- /dev/null +++ b/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 + +int main() +{ + int Error(0); + + return Error; +}