|
|
|
|
@ -114,18 +114,11 @@ template<class T> class Matrix4: public Matrix<T, 4> {
|
|
|
|
|
0.0f, 0.0f, 0.0f, identity ? 1.0f : 0.0f |
|
|
|
|
} {} |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Initializer-list constructor |
|
|
|
|
* @param first First value |
|
|
|
|
* @param next Next values |
|
|
|
|
* |
|
|
|
|
* Note that the values are in column-major order. |
|
|
|
|
*/ |
|
|
|
|
/* doxygen: @copydoc Matrix::Matrix(T, U&&...) doesn't work */ |
|
|
|
|
/** @copydoc Matrix::Matrix(T, U&&...) */ |
|
|
|
|
#ifndef DOXYGEN_GENERATING_OUTPUT |
|
|
|
|
template<class ...U> inline constexpr Matrix4(T first, U&&... next): Matrix<T, 4>(first, std::forward<U>(next)...) {} |
|
|
|
|
#else |
|
|
|
|
template<class ...U> inline constexpr Matrix4(T first, U&&... next); |
|
|
|
|
template<class ...U> inline constexpr Matrix4(T first, U&&... next) {} |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/** @copydoc Matrix::Matrix(const Matrix<T, size>&) */ |
|
|
|
|
|