|
@@ -28,7 +28,7 @@ namespace glm
|
|
|
{
|
|
{
|
|
|
assert(index >= 0 && index < m[0].length());
|
|
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)
|
|
for(length_t i = 0; i < m.length(); ++i)
|
|
|
Result[i] = m[i][index];
|
|
Result[i] = m[i][index];
|
|
|
return Result;
|
|
return Result;
|