Browse Source

Minor tweaks for better Doxygen parsing.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
7cbf0ce5f9
  1. 4
      src/Math/Matrix3.h
  2. 4
      src/Math/Matrix4.h

4
src/Math/Matrix3.h

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

4
src/Math/Matrix4.h

@ -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;

Loading…
Cancel
Save