Lines Matching refs:ClipFloat

40 typedef double ClipFloat; // floating point type used in clipping  typedef
42 typedef tcu::Vector<ClipFloat, 4> ClipVec4;
159 ClipFloat getSegmentVolumeEdgeClip (const ClipFloat v0, in getSegmentVolumeEdgeClip()
160 const ClipFloat w0, in getSegmentVolumeEdgeClip()
161 const ClipFloat v1, in getSegmentVolumeEdgeClip()
162 const ClipFloat w1, in getSegmentVolumeEdgeClip()
163 const ClipFloat plane) in getSegmentVolumeEdgeClip()
174 ClipFloat getLineEndpointClipping (const ClipVec4& v0, const ClipVec4& v1) in getLineEndpointClipping()
176 const ClipFloat clipVolumeSize = (ClipFloat)1.0; in getLineEndpointClipping()
191 return (ClipFloat)0.0; in getLineEndpointClipping()
197 return ClipVec4((ClipFloat)v.x(), (ClipFloat)v.y(), (ClipFloat)v.z(), (ClipFloat)v.w()); in vec4ToClipVec4()
209 virtual ClipFloat clipLineSegmentEnd (const ClipVec4& v0, const ClipVec4& v1) const = 0;
220 ClipFloat clipLineSegmentEnd (const ClipVec4& v0, const ClipVec4& v1) const;
227 const ClipFloat clipVolumeSize = (ClipFloat)1.0; in pointInClipVolume()
229 return (ClipFloat)(Sign * p[CompNdx]) <= clipVolumeSize * p.w(); in pointInClipVolume()
233 ClipFloat ComponentPlane<Sign, CompNdx>::clipLineSegmentEnd (const ClipVec4& v0, const ClipVec4& v1… in clipLineSegmentEnd()
235 const ClipFloat clipVolumeSize = (ClipFloat)1.0; in clipLineSegmentEnd()
239 (ClipFloat)Sign * clipVolumeSize); in clipLineSegmentEnd()
251 const ClipFloat clipRatio = clipLineSegmentEnd(clippedV0, clippedV1); in getLineIntersectionPoint()
254 if (clipRatio <= (ClipFloat)0.5) in getLineIntersectionPoint()
258 const ClipFloat complementClipRatio = clipLineSegmentEnd(clippedV1, clippedV0); in getLineIntersectionPoint()
266 ClipFloat weight[3]; //!< barycentrics
276 const ClipFloat degenerateLimit = (ClipFloat)1.0; in clipTriangleOneVertex()
288 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleOneVertex()
298 …const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.pos… in clipTriangleOneVertex()
312 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleOneVertex()
322 …const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.pos… in clipTriangleOneVertex()
350 const ClipFloat unclippableLimit = (ClipFloat)1.0; in clipTriangleTwoVertices()
363 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleTwoVertices()
373 …const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.pos… in clipTriangleTwoVertices()
387 const ClipFloat hitDist = plane.clipLineSegmentEnd(inside.position, outside.position); in clipTriangleTwoVertices()
397 …const ClipVec4 anotherPointOnLine = (hitDist > (ClipFloat)0.5) ? (inside.position) : (outside.pos… in clipTriangleTwoVertices()
589 initialTri.vertices[0].weight[0] = (ClipFloat)1.0; in clipPrimitives()
590 initialTri.vertices[0].weight[1] = (ClipFloat)0.0; in clipPrimitives()
591 initialTri.vertices[0].weight[2] = (ClipFloat)0.0; in clipPrimitives()
594 initialTri.vertices[1].weight[0] = (ClipFloat)0.0; in clipPrimitives()
595 initialTri.vertices[1].weight[1] = (ClipFloat)1.0; in clipPrimitives()
596 initialTri.vertices[1].weight[2] = (ClipFloat)0.0; in clipPrimitives()
599 initialTri.vertices[2].weight[0] = (ClipFloat)0.0; in clipPrimitives()
600 initialTri.vertices[2].weight[1] = (ClipFloat)0.0; in clipPrimitives()
601 initialTri.vertices[2].weight[2] = (ClipFloat)1.0; in clipPrimitives()
741 const ClipFloat t0 = getLineEndpointClipping(p0, p1); in clipPrimitives()
742 const ClipFloat t1 = getLineEndpointClipping(p1, p0); in clipPrimitives()
745 if (t0 == (ClipFloat)0.0 && t1 == (ClipFloat)0.0) in clipPrimitives()