Browse Source

Math: code cleanup, doc++

pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
e94a596a80
  1. 3
      src/Math/DualQuaternion.h
  2. 5
      src/Math/Matrix3.h
  3. 7
      src/Math/Matrix4.h
  4. 3
      src/Math/Quaternion.h

3
src/Math/DualQuaternion.h

@ -29,7 +29,8 @@ namespace Magnum { namespace Math {
@brief %Dual quaternion @brief %Dual quaternion
@tparam T Underlying data type @tparam T Underlying data type
@see Dual, Quaternion Represents 3D rotation and translation.
@see Dual, Quaternion, Matrix4
*/ */
template<class T> class DualQuaternion: public Dual<Quaternion<T>> { template<class T> class DualQuaternion: public Dual<Quaternion<T>> {
public: public:

5
src/Math/Matrix3.h

@ -25,11 +25,10 @@
namespace Magnum { namespace Math { namespace Magnum { namespace Math {
/** /**
@brief 3x3 matrix for transformations in 2D @brief 3x3 matrix
@tparam T Underlying data type @tparam T Underlying data type
Provides functions for transformations in 2D. See Matrix4 for 3D Represents 2D transformation. See @ref matrix-vector for brief introduction.
transformations. See also @ref matrix-vector for brief introduction.
@see Magnum::Matrix3, SceneGraph::MatrixTransformation2D @see Magnum::Matrix3, SceneGraph::MatrixTransformation2D
@configurationvalueref{Magnum::Math::Matrix3} @configurationvalueref{Magnum::Math::Matrix3}
*/ */

7
src/Math/Matrix4.h

@ -25,12 +25,11 @@
namespace Magnum { namespace Math { namespace Magnum { namespace Math {
/** /**
@brief 4x4 matrix for transformations in 3D @brief 4x4 matrix
@tparam T Underlying data type @tparam T Underlying data type
Provides functions for transformations in 3D. See Matrix3 for 2D Represents 3D transformation. See @ref matrix-vector for brief introduction.
transformations. See also @ref matrix-vector for brief introduction. @see Magnum::Matrix4, DualQuaternion, SceneGraph::MatrixTransformation3D
@see Magnum::Matrix4, SceneGraph::MatrixTransformation3D
@configurationvalueref{Magnum::Math::Matrix4} @configurationvalueref{Magnum::Math::Matrix4}
*/ */
template<class T> class Matrix4: public Matrix<4, T> { template<class T> class Matrix4: public Matrix<4, T> {

3
src/Math/Quaternion.h

@ -34,7 +34,8 @@ namespace Magnum { namespace Math {
@brief %Quaternion @brief %Quaternion
@tparam T Underlying data type @tparam T Underlying data type
@see DualQuaternion, Magnum::Quaternion Represents 3D rotation.
@see Magnum::Quaternion, DualQuaternion, Matrix4
*/ */
template<class T> class Quaternion { template<class T> class Quaternion {
public: public:

Loading…
Cancel
Save