mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-14 13:50:04 +00:00
Fix include for std::numerical_limits; Fix uninitialized params
This commit is contained in:
parent
4b35af3830
commit
a807d4c0c1
@ -1573,9 +1573,9 @@ void btSoftBodyHelpers::extrapolateBarycentricWeights(btSoftBody* psb)
|
||||
const btVector3& p = psb->m_renderNodes[i].m_x;
|
||||
btVector4 bary;
|
||||
btVector4 optimal_bary;
|
||||
btScalar min_bary_weight = -1e3;
|
||||
btScalar min_bary_weight = -SIMD_INFINITY;
|
||||
btAlignedObjectArray<const btSoftBody::Node*> optimal_parents;
|
||||
btScalar dist, optimal_dist;
|
||||
btScalar dist = 0, optimal_dist = 0;
|
||||
for (int j = 0; j < psb->m_faces.size(); ++j)
|
||||
{
|
||||
const btSoftBody::Face& f = psb->m_faces[j];
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#ifndef btImplicitQRSVD_h
|
||||
#define btImplicitQRSVD_h
|
||||
|
||||
#include <limits>
|
||||
#include "btMatrix3x3.h"
|
||||
class btMatrix2x2
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user