Lines Matching defs:hitDist
292 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position);
294 if (hitDist >= degenerateLimit)
301 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist);
302 const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.position);
305 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist);
306 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist);
307 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist);
316 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position);
318 if (hitDist >= degenerateLimit)
325 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist);
326 const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.position);
329 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist);
330 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist);
331 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist);
367 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position);
369 if (hitDist >= unclippableLimit)
376 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist);
377 const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.position);
380 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist);
381 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist);
382 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist);
391 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position);
393 if (hitDist >= unclippableLimit)
400 const ClipVec4 approximatedClipPoint = tcu::mix(inside.position, outside.position, hitDist);
401 const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.position);
404 middle.weight[0] = tcu::mix(inside.weight[0], outside.weight[0], hitDist);
405 middle.weight[1] = tcu::mix(inside.weight[1], outside.weight[1], hitDist);
406 middle.weight[2] = tcu::mix(inside.weight[2], outside.weight[2], hitDist);