mirror of
https://github.com/g-truc/glm.git
synced 2025-04-08 06:43:10 +00:00
Fixed warning #685
This commit is contained in:
parent
25e7bef346
commit
ad82970101
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace glm
|
|||
{
|
||||
assert(index >= 0 && index < m[0].length());
|
||||
|
||||
typename genType::row_type Result;
|
||||
typename genType::row_type Result(0);
|
||||
for(length_t i = 0; i < m.length(); ++i)
|
||||
Result[i] = m[i][index];
|
||||
return Result;
|
||||
|
|
Loading…
Add table
Reference in a new issue