We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ffa3f8 commit 4db8f89Copy full SHA for 4db8f89
glm/detail/type_quat.inl
@@ -74,14 +74,14 @@ namespace detail
74
GLM_FUNC_QUALIFIER GLM_CONSTEXPR T & qua<T, Q>::operator[](typename qua<T, Q>::length_type i)
75
{
76
assert(i >= 0 && i < this->length());
77
- return (&w)[i];
+ return (&x)[i];
78
}
79
80
template<typename T, qualifier Q>
81
GLM_FUNC_QUALIFIER GLM_CONSTEXPR T const& qua<T, Q>::operator[](typename qua<T, Q>::length_type i) const
82
83
84
85
86
87
// -- Implicit basic constructors --
0 commit comments