Lines Matching refs:clipper
17 #include "Clipper.hpp"
118 clipper = new Clipper(symmetricNormalizedDepth);
182 delete clipper;
183 clipper = nullptr;
593 if(clipFlags & Clipper::CLIP_PLANE0) data->clipPlane[0] = clipPlane[0];
594 Clipper::CLIP_PLANE1) data->clipPlane[1] = clipPlane[1];
595 if(clipFlags & Clipper::CLIP_PLANE2) data->clipPlane[2] = clipPlane[2];
596 if(clipFlags & Clipper::CLIP_PLANE3) data->clipPlane[3] = clipPlane[3];
597 if(clipFlags & Clipper::CLIP_PLANE4) data->clipPlane[4] = clipPlane[4];
598 if(clipFlags & Clipper::CLIP_PLANE5) data->clipPlane[5] = clipPlane[5];
1517 if((v0.clipFlags & v1.clipFlags & v2.clipFlags) == Clipper::CLIP_FINITE)
1523 if(clipFlagsOr != Clipper::CLIP_FINITE)
1525 if(!clipper->clip(polygon, clipFlagsOr, draw))
1752 C[0] = clipper->computeClipFlags(P[0]);
1756 C[1] = clipper->computeClipFlags(P[1]);
1760 C[2] = clipper->computeClipFlags(P[2]);
1764 C[3] = clipper->computeClipFlags(P[3]);
1766 if((C[0] & C[1] & C[2] & C[3]) == Clipper::CLIP_FINITE)
1772 if(clipFlagsOr != Clipper::CLIP_FINITE)
1774 if(!clipper->clip(polygon, clipFlagsOr, draw))
1804 C[0] = clipper->computeClipFlags(P[0]);
1807 C[1] = clipper->computeClipFlags(P[1]);
1810 C[2] = clipper->computeClipFlags(P[2]);
1813 C[3] = clipper->computeClipFlags(P[3]);
1816 C[4] = clipper->computeClipFlags(P[4]);
1819 C[5] = clipper->computeClipFlags(P[5]);
1822 C[6] = clipper->computeClipFlags(P[6]);
1825 C[7] = clipper->computeClipFlags(P[7]);
1827 if((C[0] & C[1] & C[2] & C[3] & C[4] & C[5] & C[6] & C[7]) == Clipper::CLIP_FINITE)
1878 if(clipFlagsOr != Clipper::CLIP_FINITE)
1880 if(!clipper->clip(polygon, clipFlagsOr, draw))
1931 C[0] = clipper->computeClipFlags(P[0]);
1935 C[1] = clipper->computeClipFlags(P[1]);
1939 C[2] = clipper->computeClipFlags(P[2]);
1943 C[3] = clipper->computeClipFlags(P[3]);
1953 if((C[0] & C[1] & C[2] & C[3]) == Clipper::CLIP_FINITE)
1957 if(clipFlagsOr != Clipper::CLIP_FINITE)
1959 if(!clipper->clip(polygon, clipFlagsOr, draw))
2170 if(clipFlags & Clipper::CLIP_PLANE0) clipPlane[0] = scissorWorld * userPlane[0];
2171 if(clipFlags & Clipper::CLIP_PLANE1) clipPlane[1] = scissorWorld * userPlane[1];
2172 if(clipFlags & Clipper::CLIP_PLANE2) clipPlane[2] = scissorWorld * userPlane[2];
2173 if(clipFlags & Clipper::CLIP_PLANE3) clipPlane[3] = scissorWorld * userPlane[3];
2174 if(clipFlags & Clipper::CLIP_PLANE4) clipPlane[4] = scissorWorld * userPlane[4];
2175 if(clipFlags & Clipper::CLIP_PLANE5) clipPlane[5] = scissorWorld * userPlane[5];
2179 if(clipFlags & Clipper::CLIP_PLANE0) clipPlane[0] = userPlane[0];
2180 if(clipFlags & Clipper::CLIP_PLANE1) clipPlane[1] = userPlane[1];
2181 if(clipFlags & Clipper::CLIP_PLANE2) clipPlane[2] = userPlane[2];
2182 if(clipFlags & Clipper::CLIP_PLANE3) clipPlane[3] = userPlane[3];
2183 if(clipFlags & Clipper::CLIP_PLANE4) clipPlane[4] = userPlane[4];
2184 if(clipFlags & Clipper::CLIP_PLANE5) clipPlane[5] = userPlane[5];