57 for(
int j = 0; j < numVectors; j++ )
67 supportVerticesOut[j][3] = maxDot;
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
virtual void getPlane(btVector3 &planeNormal, btVector3 &planeSupport, int i) const
btScalar btSqrt(btScalar y)
btVector3 getScaledPoint(int index) const
long maxDot(const btVector3 *array, long array_count, btScalar &dotOut) const
returns index of maximum dot product between this and vectors in array[]
virtual void setLocalScaling(const btVector3 &scaling)
in case we receive negative scaling
virtual btScalar getMargin() const
btVector3 & normalize()
Normalize this vector x^2 + y^2 + z^2 = 1.
virtual int getNumEdges() const
virtual int getNumVertices() const
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
virtual void getVertex(int i, btVector3 &vtx) const
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btVector3 * m_unscaledPoints
btVector3 can be used to represent 3D points and vectors.
virtual bool isInside(const btVector3 &pt, btScalar tolerance) const
btScalar length2() const
Return the length of the vector squared.
virtual void getEdge(int i, btVector3 &pa, btVector3 &pb) const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual int getNumPlanes() const
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...