File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,12 @@ class matrix :
115
115
*/
116
116
template <typename enable_type = component_type>
117
117
constexpr matrix (
118
- const quaternion<std::enable_if_t <num_rows == num_columns&&(num_rows == 3 || num_rows == 4 ), enable_type>>& quat
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
119
124
) noexcept
120
125
{
121
126
this ->set (quat);
@@ -209,7 +214,12 @@ class matrix :
209
214
*/
210
215
template <typename enable_type = component_type>
211
216
matrix& set (
212
- const quaternion<std::enable_if_t <num_rows == num_columns&&(num_rows == 3 || num_rows == 4 ), enable_type>>& quat
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
213
223
) noexcept
214
224
{
215
225
// Quaternion to matrix conversion:
@@ -912,7 +922,12 @@ class matrix :
912
922
*/
913
923
template <typename enable_type = component_type>
914
924
matrix& rotate (
915
- const quaternion<std::enable_if_t <num_rows == num_columns&&(num_rows == 3 || num_rows == 4 ), enable_type>>& q
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
916
931
) noexcept
917
932
{
918
933
return this ->operator *=(matrix<component_type, num_rows, num_columns>(q));
You can’t perform that action at this time.
0 commit comments