Lines Matching refs:clippedEdges
274 void clipTriangleOneVertex (std::vector<TriangleVertex>& clippedEdges, const ClipVolumePlane& plane… in clipTriangleOneVertex() argument
334 clippedEdges.push_back(v1); in clipTriangleOneVertex()
335 clippedEdges.push_back(mid1); in clipTriangleOneVertex()
336 clippedEdges.push_back(mid2); in clipTriangleOneVertex()
337 clippedEdges.push_back(v2); in clipTriangleOneVertex()
342 clippedEdges.push_back(v1); in clipTriangleOneVertex()
343 clippedEdges.push_back(clipped); in clipTriangleOneVertex()
344 clippedEdges.push_back(v2); in clipTriangleOneVertex()
348 void clipTriangleTwoVertices (std::vector<TriangleVertex>& clippedEdges, const ClipVolumePlane& pla… in clipTriangleTwoVertices() argument
409 clippedEdges.push_back(v0); in clipTriangleTwoVertices()
410 clippedEdges.push_back(mid1); in clipTriangleTwoVertices()
411 clippedEdges.push_back(mid2); in clipTriangleTwoVertices()
416 clippedEdges.push_back(v0); in clipTriangleTwoVertices()
417 clippedEdges.push_back(mid1); in clipTriangleTwoVertices()
418 clippedEdges.push_back(clipped2); in clipTriangleTwoVertices()
423 clippedEdges.push_back(v0); in clipTriangleTwoVertices()
424 clippedEdges.push_back(clipped1); in clipTriangleTwoVertices()
425 clippedEdges.push_back(mid2); in clipTriangleTwoVertices()
430 clippedEdges.push_back(v0); in clipTriangleTwoVertices()
431 clippedEdges.push_back(clipped1); in clipTriangleTwoVertices()
432 clippedEdges.push_back(clipped2); in clipTriangleTwoVertices()
436 void clipTriangleToPlane (std::vector<TriangleVertex>& clippedEdges, const TriangleVertex* vertices… in clipTriangleToPlane() argument
446 clippedEdges.insert(clippedEdges.begin(), vertices, vertices + 3); in clipTriangleToPlane()
451 …if (v0Clipped) clipTriangleOneVertex(clippedEdges, plane, vertices[0], vertices[1], vertices[2]); in clipTriangleToPlane()
452 …else if (v1Clipped) clipTriangleOneVertex(clippedEdges, plane, vertices[1], vertices[2], vertices… in clipTriangleToPlane()
453 else clipTriangleOneVertex(clippedEdges, plane, vertices[2], vertices[0], vertices[1]); in clipTriangleToPlane()
458 …if (!v0Clipped) clipTriangleTwoVertices(clippedEdges, plane, vertices[0], vertices[1], vertices[… in clipTriangleToPlane()
459 …else if (!v1Clipped) clipTriangleTwoVertices(clippedEdges, plane, vertices[1], vertices[2], vertic… in clipTriangleToPlane()
460 else clipTriangleTwoVertices(clippedEdges, plane, vertices[2], vertices[0], vertices[1]); in clipTriangleToPlane()