Lines Matching refs:Vec3
317 tcu::Vec3 IVec3ToVec3 (const tcu::IVec3& v)
319 return tcu::Vec3((float)v.x(), (float)v.y(), (float)v.z());
349 bool twoPointClippedTriangleInvisible(const tcu::Vec3& p, const tcu::IVec3& dir1, const tcu::IVec3& dir2)
1181 QuadFillTest (Context& context, const char* name, const char* description, const rr::WindowRectangle& viewport, const tcu::Vec3& d1, const tcu::Vec3& d2, const tcu::Vec3& center_ = tcu::Vec3(0, 0, 0));
1184 QuadFillTest::QuadFillTest (Context& context, const char* name, const char* description, const rr::WindowRectangle& viewport, const tcu::Vec3& d1, const tcu::Vec3& d2, const tcu::Vec3& center_)
1245 const tcu::Vec3 corner;
1246 const tcu::Vec3 entryPoint;
1247 const tcu::Vec3 exitPoint;
1250 { tcu::Vec3( 1, 1, 1), tcu::Vec3( 0, 1, 1), tcu::Vec3( 1, 0, 1) },
1251 { tcu::Vec3( 1,-1, 1), tcu::Vec3( 1, 0, 1), tcu::Vec3( 1,-1, 0) },
1252 { tcu::Vec3( 1,-1,-1), tcu::Vec3( 1,-1, 0), tcu::Vec3( 0,-1,-1) },
1253 { tcu::Vec3(-1,-1,-1), tcu::Vec3( 0,-1,-1), tcu::Vec3(-1, 0,-1) },
1254 { tcu::Vec3(-1, 1,-1), tcu::Vec3(-1, 0,-1), tcu::Vec3(-1, 1, 0) },
1255 { tcu::Vec3(-1, 1, 1), tcu::Vec3(-1, 1, 0), tcu::Vec3( 0, 1, 1) },
1264 tcu::Vec3 vertex0;
1265 tcu::Vec3 vertex1;
1273 const tcu::Vec3 v1 = visit.entryPoint - visit.corner;
1274 const tcu::Vec3 v2 = visit.exitPoint - visit.corner;
1276 vertex0 = visit.corner + tcu::normalize(tcu::mix(v1, v2, tcu::Vec3(float(tri)/trianglesPerVisit)));
1285 const tcu::Vec3 v1 = visit.entryPoint - visit.corner;
1286 const tcu::Vec3 v2 = visit.exitPoint - visit.corner;
1288 vertex1 = visit.corner + tcu::normalize(tcu::mix(v1, v2, tcu::Vec3(float(tri+1)/trianglesPerVisit)));
1836 tcu::Vec3 d1; // tangent
1837 tcu::Vec3 d2; // bi-tangent
1840 { tcu::Vec3( 1, 1, 1), tcu::Vec3( 1, -1, 1) },
1841 { tcu::Vec3( 1, 1, 1), tcu::Vec3(-1, 1.1f, 1) },
1842 { tcu::Vec3( 1, 1, 0), tcu::Vec3(-1, 1, 0) },
1843 { tcu::Vec3( 0, 1, 0), tcu::Vec3( 1, 0, 0) },
1844 { tcu::Vec3( 0, 1, 0), tcu::Vec3( 1, 0.1f, 0) },
1850 tcu::Vec3 d1; // tangent
1851 tcu::Vec3 d2; // bi-tangent
1852 tcu::Vec3 center; // center
1855 { tcu::Vec3( 1, 0.01f, 0 ), tcu::Vec3( 0, 0.01f, 0), tcu::Vec3( 0, 0.99f, 0 ) }, // edge near x-plane
1856 { tcu::Vec3( 0.01f, 1, 0 ), tcu::Vec3( 0.01f, 0, 0), tcu::Vec3( 0.99f, 0, 0 ) }, // edge near y-plane
1857 { tcu::Vec3( 1, 1, 0.01f), tcu::Vec3( 0.01f, -0.01f, 0), tcu::Vec3( 0, 0, 0.99f) }, // edge near z-plane
1941 const tcu::Vec3 r0 = tcu::Vec3( 0.2f, 0.3f, 0);
1942 const tcu::Vec3 r1 = tcu::Vec3(-0.3f, -0.4f, 0);
1943 const tcu::Vec3 r2 = IVec3ToVec3(outside[ndx]) * far;
1991 const tcu::Vec3 r0 = tcu::Vec3( 0.2f, 0.3f, 0);