Saxum/extern/bullet/UnitTests/BulletUnitTests/btCholeskyDecomposition.h

20 lines
330 B
C
Raw Permalink Normal View History

2014-10-24 09:42:47 +00:00
#ifndef BTCHOLESKYDECOMPOSITION_H
#define BTCHOLESKYDECOMPOSITION_H
#include "LinearMath/btMatrix3x3.h"
struct btCholeskyDecomposition
{
enum Result
{
SUCCESS,
FAILURE_SYMMETRY,
FAILURE_POSITIVE_DEFINITE
};
};
int choleskyDecompose(const btMatrix3x3& A, btMatrix3x3& L);
#endif // BTCHOLESKYDECOMPOSITION_H