Fixed compAdd, issue #40
This commit is contained in:
parent
9926506c7f
commit
e7173dd156
@ -12,7 +12,7 @@ namespace glm
|
||||
template <typename genType>
|
||||
GLM_FUNC_QUALIFIER typename genType::value_type compAdd(genType const & v)
|
||||
{
|
||||
typename genType::size_type result = typename genType::value_type(0);
|
||||
typename genType::value_type result = typename genType::value_type(0);
|
||||
for(typename genType::size_type i = 0; i < v.length(); ++i)
|
||||
result += v[i];
|
||||
return result;
|
||||
|
@ -36,6 +36,12 @@ GLM is a header only library, there is nothing to build, just include it.
|
||||
More informations in GLM manual:
|
||||
http://glm.g-truc.net/glm.pdf
|
||||
|
||||
================================================================================
|
||||
GLM 0.9.4.2: 2013-01-XX
|
||||
--------------------------------------------------------------------------------
|
||||
- Fixed compAdd from GTX_component_wise
|
||||
- Fixed GCC warnings
|
||||
|
||||
================================================================================
|
||||
GLM 0.9.4.1: 2012-12-22
|
||||
--------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user