18 template <
typename Real>
43 bool wantPlanes,
bool wantAlignedBox);
57 template <
typename Real>
62 template <
typename Real>
64 std::vector<int>&& inIndices,
bool wantPlanes,
bool wantAlignedBox)
66 if (inVertices.size() >= 4 && inIndices.size() >= 12)
83 template <
typename Real>
88 uint32_t
const numTriangles =
static_cast<uint32_t
>(
indices.size()) / 3;
89 planes.resize(numTriangles);
90 for (uint32_t
t = 0, i = 0;
t < numTriangles; ++
t)
103 template <
typename Real>
std::vector< Vector3< Real > > vertices
AlignedBox3< Real > alignedBox
std::vector< Vector4< Real > > planes
GVector< Real > HLift(GVector< Real > const &v, Real last)
GLsizei GLenum const void * indices
std::vector< int > indices
DualQuaternion< Real > Dot(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
DualQuaternion< Real > Cross(DualQuaternion< Real > const &d0, DualQuaternion< Real > const &d1)
void GenerateAlignedBox()
bool ComputeExtremes(int numVectors, GVector< Real > const *v, GVector< Real > &vmin, GVector< Real > &vmax)