mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 01:14:34 +00:00
Fixed warning #685
This commit is contained in:
parent
25e7bef346
commit
ad82970101
@ -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…
Reference in New Issue
Block a user