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