Browse Source

Doc++, TODO++

pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
e147cc3992
  1. 3
      src/Math/Complex.h
  2. 3
      src/Math/Quaternion.h
  3. 1
      src/SceneGraph/AbstractFeature.h

3
src/Math/Complex.h

@ -38,7 +38,8 @@
namespace Magnum { namespace Math { namespace Magnum { namespace Math {
namespace Implementation { namespace Implementation {
/* No assertions fired, for internal use */ /* No assertions fired, for internal use. Not private member because used
from outside the class. */
template<class T> inline static Complex<T> complexFromMatrix(const Matrix<2, T>& matrix) { template<class T> inline static Complex<T> complexFromMatrix(const Matrix<2, T>& matrix) {
return {matrix[0][0], matrix[0][1]}; return {matrix[0][0], matrix[0][1]};
} }

3
src/Math/Quaternion.h

@ -40,7 +40,8 @@ namespace Magnum { namespace Math {
namespace Implementation { namespace Implementation {
/* No assertions fired, for internal use */ /* No assertions fired, for internal use. Not private member because used from
outside the class. */
template<class T> inline Quaternion<T> quaternionFromMatrix(const Matrix<3, T>& m) { template<class T> inline Quaternion<T> quaternionFromMatrix(const Matrix<3, T>& m) {
const Vector<3, T> diagonal = m.diagonal(); const Vector<3, T> diagonal = m.diagonal();
const T trace = diagonal.sum(); const T trace = diagonal.sum();

1
src/SceneGraph/AbstractFeature.h

@ -190,6 +190,7 @@ template<UnsignedInt dimensions, class T = Float> class AbstractFeature
* @todo Provide also simpler representations from which could benefit * @todo Provide also simpler representations from which could benefit
* other transformation implementations, as they won't need to * other transformation implementations, as they won't need to
* e.g. create transformation matrix from quaternion? * e.g. create transformation matrix from quaternion?
* @todo Move outside templated class so it's easier to type
*/ */
#ifndef DOXYGEN_GENERATING_OUTPUT #ifndef DOXYGEN_GENERATING_OUTPUT
typedef Implementation::FeatureCachedTransformation CachedTransformation; typedef Implementation::FeatureCachedTransformation CachedTransformation;

Loading…
Cancel
Save