Fixed ticket #149, misleading call to row_size in the code

master
Christophe Riccio ago%!(EXTRA string=14 years)
parent d26c9df71d
commit 66408cfc4b
  1. 4
      glm/core/type_mat2x2.inl
  2. 4
      glm/core/type_mat2x3.inl
  3. 4
      glm/core/type_mat2x4.inl
  4. 4
      glm/core/type_mat3x2.inl
  5. 4
      glm/core/type_mat3x3.inl
  6. 4
      glm/core/type_mat3x4.inl
  7. 4
      glm/core/type_mat4x2.inl
  8. 4
      glm/core/type_mat4x3.inl
  9. 4
      glm/core/type_mat4x4.inl
  10. 4
      glm/core/type_vec1.inl
  11. 4
      glm/core/type_vec2.inl
  12. 4
      glm/core/type_vec3.inl
  13. 4
      glm/core/type_vec4.inl

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

@ -50,7 +50,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -60,7 +60,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

Loading…
Cancel
Save