Lines Matching refs:ny
291 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny)
293 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]);
296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, float ny)
298 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx);
299 return (w[0]*w[1]*w[2]*width * (w[1]*(s[0] - s[2])*(ny - 1.0f) + ny*(w[2]*(s[1] - s[0]) + w[0]*(s[2] - s[1])))) / (d*d);
497 float ny = wy / dstH;
499 int triNdx = nx + ny >= 1.0f ? 1 : 0;
503 float triNy = triNdx ? 1.0f - ny : ny;
541 float ny = wy / dstH;
543 int triNdx = nx + ny >= 1.0f ? 1 : 0;
547 float triNy = triNdx ? 1.0f - ny : ny;
679 const float ny = wy / dstH;
681 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
683 const float triNy = triNdx ? 1.0f - ny : ny;
888 float ny = wy / dstH;
890 int triNdx = nx + ny >= 1.0f ? 1 : 0;
894 float triNy = triNdx ? 1.0f - ny : ny;
955 const float ny = wy / dstH;
957 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
959 const float triNy = triNdx ? 1.0f - ny : ny;
1349 const float ny = wy / dstH;
1351 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
1355 const float triNy = triNdx ? 1.0f - ny : ny;
1475 const float ny = wy / dstH;
1490 const float triNy = triNdx ? 1.0f - ny : ny;
1699 const float ny = wy / dstH;
1714 const float triNy = triNdx ? 1.0f - ny : ny;
1890 const float ny = wy / dstH;
1905 const float triNy = triNdx ? 1.0f - ny : ny;
2057 const float ny = wy / dstH;
2059 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
2063 const float triNy = triNdx ? 1.0f - ny : ny;
2166 const float ny = wy / dstH;
2168 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
2172 const float triNy = triNdx ? 1.0f - ny : ny;
2373 const float ny = wy / dstH;
2375 const bool tri0 = nx + ny - posEps <= 1.0f;
2376 const bool tri1 = nx + ny + posEps >= 1.0f;
2388 const float triNy = triNdx ? 1.0f - ny : ny;
2550 const float ny = wy / dstH;
2552 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
2556 const float triNy = triNdx ? 1.0f - ny : ny;
2666 const float ny = wy / dstH;
2668 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
2672 const float triNy = triNdx ? 1.0f - ny : ny;
2788 const float ny = wy / dstH;
2790 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
2794 const float triNy = triNdx ? 1.0f - ny : ny;
2900 const float ny = wy / dstH;
2902 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
2906 const float triNy = triNdx ? 1.0f - ny : ny;
3007 const float ny = wy / dstH;
3009 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
3013 const float triNy = triNdx ? 1.0f - ny : ny;
3118 const float ny = wy / dstH;
3120 const int triNdx = nx + ny >= 1.0f ? 1 : 0;
3124 const float triNy = triNdx ? 1.0f - ny : ny;