remove epsilon
This commit is contained in:
parent
654d5c2b61
commit
2ea909e3c4
@ -573,7 +573,7 @@ void b3ClothSolver::Solve(b3DenseVec3& x, u32& iterations,
|
|||||||
b3Mat33& D = inv_P[i];
|
b3Mat33& D = inv_P[i];
|
||||||
|
|
||||||
// Sylvester Criterion to ensure PD-ness
|
// Sylvester Criterion to ensure PD-ness
|
||||||
B3_ASSERT(b3Det(D.x, D.y, D.z) > B3_EPSILON);
|
B3_ASSERT(b3Det(D.x, D.y, D.z) > 0.0f);
|
||||||
|
|
||||||
B3_ASSERT(D.x.x != 0.0f);
|
B3_ASSERT(D.x.x != 0.0f);
|
||||||
float32 xx = 1.0f / D.x.x;
|
float32 xx = 1.0f / D.x.x;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user