68 for (
int i=0;i<row;i++)
76 for (
int i=32-row;i<32;i++)
90 unsigned int m_cells[32];
97 unsigned int m_resolution[3];
113 bool load(
const char* data,
int size);
130 bool interpolate(
unsigned int field_id,
double& dist,
btVector3 const& x,
btVector3* gradient)
const;
void bottomRowsMul(int row, double val)
btAlignedObjectArray< btAlignedObjectArray< double > > m_nodes
double & operator[](int i)
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
bool contains(const btVector3 &x) const
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
const btVector3 & min() const
btAlignedObjectArray< btAlignedObjectArray< unsigned int > > m_cell_map
const btVector3 & max() const
const double & operator[](int i) const
btVector3 can be used to represent 3D points and vectors.
btAlignedObjectArray< btAlignedObjectArray< btCell32 > > m_cells
bool TestPointAgainstAabb2(const btVector3 &aabbMin1, const btVector3 &aabbMax1, const btVector3 &point)
conservative test for overlap between two aabbs
void topRowsDivide(int row, double denom)
btAlignedBox3d(const btVector3 &mn, const btVector3 &mx)
btScalar & operator()(int i, int j)
btVector3 m_inv_cell_size
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...