Browse Source

Added TODOs.

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
446b108bde
  1. 1
      src/Math/Matrix3.h
  2. 1
      src/Math/Matrix4.h

1
src/Math/Matrix3.h

@ -172,6 +172,7 @@ template<class T> class Matrix3: public Matrix<3, T> {
* Upper-left 2x2 part of the matrix.
* @see from(const Matrix<2, T>&, const Vector2&), rotation() const,
* rotation(T), Matrix4::rotationScaling() const
* @todo extract rotation with assert for no scaling
*/
inline constexpr Matrix<2, T> rotationScaling() const {
return {(*this)[0].xy(),

1
src/Math/Matrix4.h

@ -303,6 +303,7 @@ template<class T> class Matrix4: public Matrix<4, T> {
* Upper-left 3x3 part of the matrix.
* @see from(const Matrix<3, T>&, const Vector3&), rotation() const,
* rotation(T, const Vector3&), Matrix3::rotationScaling() const
* @todo extract rotation with assert for no scaling
*/
inline constexpr Matrix<3, T> rotationScaling() const {
/* Not Matrix3, because it is for affine 2D transformations */

Loading…
Cancel
Save