15 template <
typename Real>
33 int& positiveDirection,
int& negativeDirection) = 0;
44 template <
typename Real>
49 template <
typename Real>
55 template <
typename Real>
61 template <
typename Real>
67 auto vertexPool =
mPolytope.GetVertices();
69 int const numTriangles =
static_cast<int>(
indices.size()) / 3;
71 for (
int t = 0;
t < numTriangles; ++
t)
ExtremalQuery3(ExtremalQuery3 const &)=delete
virtual void GetExtremeVertices(Vector3< Real > const &direction, int &positiveDirection, int &negativeDirection)=0
std::vector< Vector3< Real > > const & GetFaceNormals() const
Polyhedron3< Real > const & GetPolytope() const
Vector< N, Real > UnitCross(Vector< N, Real > const &v0, Vector< N, Real > const &v1, bool robust=false)
ExtremalQuery3 & operator=(ExtremalQuery3 const &)=delete
GLsizei GLenum const void * indices
virtual ~ExtremalQuery3()
std::vector< Vector3< Real > > mFaceNormals
GLfloat GLfloat GLfloat v2
Polyhedron3< Real > const & mPolytope