molecular
|
Functions | |
template<class PlaneIterator , class PointInputIterator , class PointOutputIterator > | |
PointOutputIterator | ClipPolygon (PlaneIterator planesBegin, PlaneIterator planesEnd, PointInputIterator pointsInputBegin, PointInputIterator pointInputEnd, PointOutputIterator pointsOutputBegin) |
Clip polygon by set of planes. More... | |
template<class PointIterator , class PlaneOutputIterator > | |
PlaneOutputIterator | CreateCullingPlanes (const Vector3 &viewPos, PointIterator polygonBegin, PointIterator polygonEnd, PlaneOutputIterator planesBegin) |
Generate culling planes from polygon. More... | |
template<class PlaneIterator , class Object > | |
Plane::IntersectStatus | CheckIntersection (PlaneIterator planesBegin, PlaneIterator planesEnd, Object object) |
Check intersection of object. More... | |
Plane::IntersectStatus molecular::util::PlaneSet::CheckIntersection | ( | PlaneIterator | planesBegin, |
PlaneIterator | planesEnd, | ||
Object | object | ||
) |
Check intersection of object.
PointOutputIterator molecular::util::PlaneSet::ClipPolygon | ( | PlaneIterator | planesBegin, |
PlaneIterator | planesEnd, | ||
PointInputIterator | pointsInputBegin, | ||
PointInputIterator | pointInputEnd, | ||
PointOutputIterator | pointsOutputBegin | ||
) |
Clip polygon by set of planes.
PlaneOutputIterator molecular::util::PlaneSet::CreateCullingPlanes | ( | const Vector3 & | viewPos, |
PointIterator | polygonBegin, | ||
PointIterator | polygonEnd, | ||
PlaneOutputIterator | planesBegin | ||
) |
Generate culling planes from polygon.
For perspective projections. Does not generate near and far plane.