Blender  V3.3
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:
25  btPolarDecomposition(btScalar tolerance = btScalar(0.0001),
26  unsigned int maxIterations = 16);
27 
39  unsigned int decompose(const btMatrix3x3& a, btMatrix3x3& u, btMatrix3x3& h) const;
40 
47  unsigned int maxIterations() const;
48 
49 private:
50  btScalar m_tolerance;
51  unsigned int m_maxIterations;
52 };
53 
67 unsigned int polarDecompose(const btMatrix3x3& a, btMatrix3x3& u, btMatrix3x3& h);
68 
69 #endif // POLARDECOMPOSITION_H
btMatrix3x3
The btMatrix3x3 class implements a 3x3 rotation matrix, to perform linear algebra in combination with...
Definition: btMatrix3x3.h:50
unsigned int polarDecompose(const btMatrix3x3 &a, btMatrix3x3 &u, btMatrix3x3 &h)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
Definition: btScalar.h:314
btPolarDecomposition(btScalar tolerance=btScalar(0.0001), unsigned int maxIterations=16)
unsigned int decompose(const btMatrix3x3 &a, btMatrix3x3 &u, btMatrix3x3 &h) const
unsigned int maxIterations() const
static unsigned a[3]
Definition: RandGen.cpp:78