Fixed usused variable warning in GTX_spline #618

This commit is contained in:
Christophe Riccio 2017-06-04 11:42:05 +02:00
parent a9a832e187
commit 0c3134a52d
2 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@ namespace glm
typename genType::value_type const & s typename genType::value_type const & s
) )
{ {
typename genType::value_type s1 = s;
typename genType::value_type s2 = pow2(s); typename genType::value_type s2 = pow2(s);
typename genType::value_type s3 = pow3(s); typename genType::value_type s3 = pow3(s);
@ -36,7 +35,6 @@ namespace glm
typename genType::value_type const & s typename genType::value_type const & s
) )
{ {
typename genType::value_type s1 = s;
typename genType::value_type s2 = pow2(s); typename genType::value_type s2 = pow2(s);
typename genType::value_type s3 = pow3(s); typename genType::value_type s3 = pow3(s);

View File

@ -77,6 +77,7 @@ glm::mat4 camera(float Translate, glm::vec2 const & Rotate)
- Fixed glm::decompose #448 - Fixed glm::decompose #448
- Fixed intersectRayTriangle #6 - Fixed intersectRayTriangle #6
- Fixed dual quaternion != operator #629 - Fixed dual quaternion != operator #629
- Fixed usused variable warning in GTX_spline #618
#### Deprecation: #### Deprecation:
- Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler - Requires Visual Studio 2013, GCC 4.7, Clang 3.4, Cuda 7, ICC 2013 or a C++11 compiler