Bullet Collision Detection & Physics Library
btPolarDecomposition.h
Go to the documentation of this file.
1 #ifndef POLARDECOMPOSITION_H
2 #define POLARDECOMPOSITION_H
3 
4 #include "btMatrix3x3.h"
5 
15 {
16  public:
18  static const unsigned int DEFAULT_MAX_ITERATIONS;
19 
29  unsigned int maxIterations = DEFAULT_MAX_ITERATIONS);
30 
42  unsigned int decompose(const btMatrix3x3& a, btMatrix3x3& u, btMatrix3x3& h) const;
43 
50  unsigned int maxIterations() const;
51 
52  private:
54  unsigned int m_maxIterations;
55 };
56 
70 unsigned int polarDecompose(const btMatrix3x3& a, btMatrix3x3& u, btMatrix3x3& h);
71 
72 #endif // POLARDECOMPOSITION_H
73