114 if (value > bestValue)
131 if (value > bestValue)
float32 b2Dot(const b2Vec2 &a, const b2Vec2 &b)
Perform the dot product on two vectors.
void Set(const b2Shape *shape, int32 index)
GLenum GLenum GLenum input
int32 iterations
number of GJK iterations used
b2Vec2 pointB
closest point on shapeB
GLsizei const GLfloat * value
const b2Vec2 & GetVertex(int32 index) const
Get a vertex by index. Used by b2Distance.
b2Vec2 pointA
closest point on shapeA
const b2Vec2 & GetSupportVertex(const b2Vec2 &d) const
Get the supporting vertex in the given direction.
int32 GetSupport(const b2Vec2 &d) const
Get the supporting vertex index in the given direction.
const b2Vec2 * m_vertices
float32 metric
length or area
int32 GetVertexCount() const
Get the vertex count.
void b2Distance(b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble f