@@ -83,7 +83,7 @@ class matrix :
8383 template <size_t ... indices>
8484 constexpr matrix (
8585 std::initializer_list<vector<component_type, num_columns>> rows,
86- std::index_sequence<indices...>
86+ std::index_sequence<indices...> //
8787 ) noexcept :
8888 base_type{*std::next (rows.begin (), indices)...}
8989 {}
@@ -114,14 +114,12 @@ class matrix :
114114 * @param quat - unit quaternion defining the rotation.
115115 */
116116 template <typename enable_type = component_type>
117- constexpr matrix (
118- const quaternion< //
119- std::enable_if_t <
120- num_rows == num_columns && (num_rows == 3 || num_rows == 4 ), //
121- enable_type //
122- > //
123- >& quat
124- ) noexcept
117+ constexpr matrix (const quaternion< //
118+ std::enable_if_t <
119+ num_rows == num_columns && (num_rows == 3 || num_rows == 4 ), //
120+ enable_type //
121+ > //
122+ >& quat) noexcept
125123 {
126124 this ->set (quat);
127125 }
@@ -213,14 +211,12 @@ class matrix :
213211 * @return Reference to this matrix object.
214212 */
215213 template <typename enable_type = component_type>
216- matrix& set (
217- const quaternion< //
218- std::enable_if_t <
219- num_rows == num_columns && (num_rows == 3 || num_rows == 4 ), //
220- enable_type //
221- > //
222- >& quat
223- ) noexcept
214+ matrix& set (const quaternion< //
215+ std::enable_if_t <
216+ num_rows == num_columns && (num_rows == 3 || num_rows == 4 ), //
217+ enable_type //
218+ > //
219+ >& quat) noexcept
224220 {
225221 // Quaternion to matrix conversion:
226222 // | 1-(2y^2+2z^2) 2xy-2zw 2xz+2yw 0 |
@@ -921,14 +917,12 @@ class matrix :
921917 * @return reference to this matrix object.
922918 */
923919 template <typename enable_type = component_type>
924- matrix& rotate (
925- const quaternion< //
926- std::enable_if_t <
927- num_rows == num_columns && (num_rows == 3 || num_rows == 4 ), //
928- enable_type //
929- > //
930- >& q
931- ) noexcept
920+ matrix& rotate (const quaternion< //
921+ std::enable_if_t <
922+ num_rows == num_columns && (num_rows == 3 || num_rows == 4 ), //
923+ enable_type //
924+ > //
925+ >& q) noexcept
932926 {
933927 return this ->operator *=(matrix<component_type, num_rows, num_columns>(q));
934928 }
0 commit comments