From 5eac74c4dad648eccf178f626be1f4b6130d19a1 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 11 Jan 2012 17:14:03 +0000 Subject: [PATCH 1/2] Fixed ticket #163, missing inlines --- glm/gtx/integer.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtx/integer.inl b/glm/gtx/integer.inl index fe630dca..2f2535b4 100644 --- a/glm/gtx/integer.inl +++ b/glm/gtx/integer.inl @@ -58,7 +58,7 @@ namespace _detail struct _compute_log2 { template - T operator() (T const & Value) const + GLM_FUNC_QUALIFIER T operator() (T const & Value) const { #if(GLM_COMPILER & GLM_COMPILER_VC) return Value <= T(1) ? T(0) : T(32) - nlz(Value - T(1)); @@ -73,7 +73,7 @@ namespace _detail }//namespace _detail // Henry Gordon Dietz: http://aggregate.org/MAGIC/ - unsigned int floor_log2(unsigned int x) + GLM_FUNC_QUALIFIER unsigned int floor_log2(unsigned int x) { x |= (x >> 1); x |= (x >> 2); From 0a7368d6ec997c82285c999223e26dcce1ac24ff Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 11 Jan 2012 17:43:29 +0000 Subject: [PATCH 2/2] Fixed legacy post --- doc/src/data.xml | 49 +----------------------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) diff --git a/doc/src/data.xml b/doc/src/data.xml index dd1a556c..13045184 100644 --- a/doc/src/data.xml +++ b/doc/src/data.xml @@ -796,7 +796,6 @@ - Groove This update fixes some problem of Alpha 1 but also brings some improvements in case of errors when using GLM to provide more relevant messages. @@ -805,7 +804,6 @@ - Groove First step until a major release for GLM with this first alpha of GLM 0.9. @@ -825,7 +823,6 @@ - Groove This update just removes some warnings @@ -838,7 +835,6 @@ - Groove This version fixed half scalars and half vectors arithmetics. This is a really slow practice that should be avoid. @@ -851,7 +847,6 @@ - Groove This version is a really minor updates, fixing single issue with half float types. @@ -861,7 +856,6 @@ - Groove This version fixes few bugs and provides an major update of the manual thanks to Damian Trebilco. @@ -871,7 +865,6 @@ - Groove This new version mainly adds support for Visual Studio 2010 and GCC 4.4. It also provides various code optimization, bug fixes and an extension. @@ -881,7 +874,6 @@ - Groove Fixed extension bugs introduced by core update. @@ -891,7 +883,6 @@ - Groove Fixed varius bugs. Move determinant fonction to core following GLSL 1.5 specification. @@ -901,7 +892,6 @@ - Groove Fixed varius bugs. @@ -911,7 +901,6 @@ - Groove Add GLM_GTC_quaternion and GLM_GTC_type_precision extensions both subset of GLM_GTX_quaternion and GLM_GTX_number_precision @@ -921,7 +910,6 @@ - Groove The old way to use extensions have been fixed and GLM_GTX_bit extension gets updated with more functions to manipulate bit fields. @@ -931,7 +919,6 @@ - Groove This version brings to main changed: Stable extensions and a new extension system. @@ -952,7 +939,6 @@ - Groove GLM 0.8.2.3 (zip, 963 KB) GLM 0.8.2.3 (7z, 381 KB) Manual @@ -960,7 +946,6 @@ - Groove A new release is available and inogurate a patch number. The goal of this patch number is to release faster fixes from bug reports. @@ -971,8 +956,7 @@ - Groove - + This release only fixes bugs. Left sided swizzle operators, quaternion operators, vectors access operators for the main onces. GLM 0.8.2 (zip, 963 KB) @@ -982,7 +966,6 @@ - Groove Some artifacts have been added to the tracker to give a picture of what you could expect for the next releases. @@ -999,7 +982,6 @@ - Groove GLM 0.8.1 is released. This new version mainly fixes 64 bit integers with GCC and various bugs. @@ -1010,7 +992,6 @@ - Groove GLM 0.8.0 is released. This new version is now based on GLSL 1.30 specification which provided new functions and precision qualifiers. @@ -1037,7 +1018,6 @@ - Groove Ambient aperture lighting Humus demo have been updated to use GLM as math library. @@ -1047,7 +1027,6 @@ - Groove As you can see the website get a little update to prepare GLM 0.8.0 final release. @@ -1057,7 +1036,6 @@ - Groove This release fixes some bugs and add few features though extensions. The development is now based on CMake to make easier cross platform tests and project management. @@ -1068,7 +1046,6 @@ - Groove This release mainly improves half float vectors support. By default the low precission vectors are based on float numbers not on half numbers @@ -1085,7 +1062,6 @@ - Groove GLM have been updated to support GLSL 1.30. API documentation had significant improvements to make easier finding of GLSL functions and types. @@ -1102,7 +1078,6 @@ - Groove GLM 0.7.6 provides a better C++ conformance so that you can build GLM with –pedantic G++ parameter or without Visual Studio extensions. To make GLM more reliable, BOOST_STATIC_ASSERT are used according developer wishes. @@ -1113,7 +1088,6 @@ - Groove GLM 0.7.5 is available and introduces a new build messsage system to get information of GLM build configuration with Visual Studio. This mechanism is documented in section 6 of GLM manual. Also, GLM can be built with GCC pedantic options. @@ -1124,7 +1098,6 @@ - Groove GLM 0.7.4 introduces a new system to manage external dependencies. @@ -1141,7 +1114,6 @@ - Groove GLM 0.7.3 is released. This version fixes few bugs and add few extensions @@ -1151,7 +1123,6 @@ - Groove GLM 0.7.2 is released. The documentation have been completed again and several issues handle with precompiler options. @@ -1173,7 +1144,6 @@ - Groove GLM 0.7.1 is available under MIT license. It fixes bugs with GCC. @@ -1183,7 +1153,6 @@ - Groove GLM 0.7.0 is available under MIT license. LGPL lisence have been discard due to an issue of use for console development. This release contains a lot better documentation based on Doxygen. Lot of bugs have been fixed and the documentation completed. Thanks to all people that has contributed thought bug reports and ideas to make this version a lot better! @@ -1193,7 +1162,6 @@ - Groove GLM 0.6.4 is available and fixes some swizzle operator issues. @@ -1203,7 +1171,6 @@ - Groove GLM 0.6.3 fixes accesses of matrices and a 3DSMax SDK conflict. @@ -1213,7 +1180,6 @@ - Groove GLM 0.6.2 fixes an error on an extension. @@ -1223,7 +1189,6 @@ - Groove GLM 0.6.1 is a minor update that fix an issue on extension namespace and add two more extensions. @@ -1233,7 +1198,6 @@ - Groove GLM 0.6.0 is available. For this release, work focus on extensions. A new mecanisum allows to integrate GLM extensions as it is actually done for GLSL extension by vendors. Lot of new extensions have been added. @@ -1245,7 +1209,6 @@ - Groove This release fixes some issues with swizzle operators. @@ -1254,7 +1217,6 @@ - Groove A new sample is available. It's an update of Philip Rideout's Catmull Clark subdivision program that uses GLM. Released with pleasant permission of Philip Rideout. @@ -1262,7 +1224,6 @@ - Groove This release include GLSL 1.2 new feature in the core implementation. Also, it includes swizzle read and write operators and a custom options system to setup GLM. @@ -1282,7 +1243,6 @@ - Groove A GLM update is available. It simply includes some examples for a sweet start with GLM. @@ -1305,7 +1265,6 @@ - Groove Version 0.4 will complete matrices and vectors operators and will add GLSL 1.2 features. First, conversions simplifications will be integrated. Then, 4 per 3 matrices and outer product will be available from extensions. The transpose function is already available from extension. @@ -1318,7 +1277,6 @@ - Groove This release corrects two main bugs. First, a bug of the imat4 and mat4 division operators and other correct the vectors components access from texture coordinate way. @@ -1326,7 +1284,6 @@ - Groove This update adds GCC 4.0 support for MacOS X and Linux and GCC 4.1 under Linux. Also, its provides some optimisations. @@ -1337,7 +1294,6 @@ - Groove A new release of GLM is now available. It improves GLSL data type conversion and construction compliance. Also, It's adds extensions like some to manage double-precision and half-precision float numbers. Finally a Doxygen documentation has been added. @@ -1350,7 +1306,6 @@ - Groove A new release of GLM is now available. A few bugs have been fixed, the portability of GLSL into C++ has been improved, and new experimental extensions have been implemented, enhancing GLSL features. @@ -1363,14 +1318,12 @@ - Groove The english section of this site is now available. - Groove This is the first public availability of GLM. This library supports part of GLSL specifications : All vectors and matrices types, and all the operators and associated functions.