Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
18 const btScalar sum0 = abs_column_sum(a, 0);
19 const btScalar sum1 = abs_column_sum(a, 1);
20 const btScalar sum2 = abs_column_sum(a, 2);
26 const btScalar sum0 = abs_row_sum(a, 0);
27 const btScalar sum1 = abs_row_sum(a, 1);
28 const btScalar sum2 = abs_row_sum(a, 2);
btPolarDecomposition(btScalar tolerance=btScalar(0.0001), unsigned int maxIterations=16)
Creates an instance with optional parameters.
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btMatrix3x3 inverse() const
Return the inverse of the matrix.
unsigned int polarDecompose(const btMatrix3x3 &a, btMatrix3x3 &u, btMatrix3x3 &h)
This functions decomposes the matrix 'a' into two parts: an orthogonal matrix 'u' and a symmetric,...
const T & btMax(const T &a, const T &b)
unsigned int maxIterations() const
Returns the maximum number of iterations that this algorithm will perform to achieve convergence.
btScalar btFabs(btScalar x)
unsigned int m_maxIterations
The btMatrix3x3 class implements a 3x3 rotation matrix, to perform linear algebra in combination with...
btMatrix3x3 transpose() const
Return the transpose of the matrix.
This class is used to compute the polar decomposition of a matrix.
bool btFuzzyZero(btScalar x)
btScalar btPow(btScalar x, btScalar y)
unsigned int decompose(const btMatrix3x3 &a, btMatrix3x3 &u, btMatrix3x3 &h) const
Decomposes a matrix into orthogonal and symmetric, positive-definite parts.