|
|
|
|
@ -114,13 +114,13 @@ template<class T> class Matrix4: public Matrix<T, 4> {
|
|
|
|
|
inline constexpr explicit Matrix4(typename Matrix<T, 4>::ZeroType): Matrix<T, 3>(Matrix<T, 3>::Zero) {} |
|
|
|
|
|
|
|
|
|
/** @copydoc Matrix::Matrix(IdentityType, T) */ |
|
|
|
|
inline constexpr explicit Matrix4(typename Matrix<T, 4>::IdentityType = Matrix<T, 4>::Identity, T value = T(1)): Matrix<T, 4>{ |
|
|
|
|
inline constexpr explicit Matrix4(typename Matrix<T, 4>::IdentityType = Matrix<T, 4>::Identity, T value = T(1)): Matrix<T, 4>( |
|
|
|
|
/** @todo Make this in Matrix itself, after it will be constexpr */ |
|
|
|
|
value, 0.0f, 0.0f, 0.0f, |
|
|
|
|
0.0f, value, 0.0f, 0.0f, |
|
|
|
|
0.0f, 0.0f, value, 0.0f, |
|
|
|
|
0.0f, 0.0f, 0.0f, value |
|
|
|
|
} {} |
|
|
|
|
) {} |
|
|
|
|
|
|
|
|
|
#ifndef DOXYGEN_GENERATING_OUTPUT |
|
|
|
|
template<class U> explicit Matrix4(U) = delete; |
|
|
|
|
|