|
|
@@ -219,14 +219,14 @@ namespace glm
|
|
|
template<typename T, qualifier Q>
|
|
|
GLM_FUNC_QUALIFIER GLM_CONSTEXPR typename mat<2, 3, T, Q>::col_type & mat<2, 3, T, Q>::operator[](typename mat<2, 3, T, Q>::length_type i) GLM_NOEXCEPT
|
|
|
{
|
|
|
- assert(i < this->length());
|
|
|
+ GLM_ASSERT_LENGTH(i, this->length());
|
|
|
return this->value[i];
|
|
|
}
|
|
|
|
|
|
template<typename T, qualifier Q>
|
|
|
GLM_FUNC_QUALIFIER GLM_CONSTEXPR typename mat<2, 3, T, Q>::col_type const& mat<2, 3, T, Q>::operator[](typename mat<2, 3, T, Q>::length_type i) const GLM_NOEXCEPT
|
|
|
{
|
|
|
- assert(i < this->length());
|
|
|
+ GLM_ASSERT_LENGTH(i, this->length());
|
|
|
return this->value[i];
|
|
|
}
|
|
|
|