Lines Matching defs:v2
58 // const Vec3<T> &v2,
66 // const Vec3<T> &v2,
127 const Vec3<T> &v2,
133 // Given a line and a triangle (v0, v1, v2), the intersect() function
149 // normal, (v2-v1)%(v1-v0), and the line's direction is negative.
153 // pt = v0 * barycentric.x + v1 * barycentric.y + v2 * barycentric.z
157 Vec3<T> edge1 = v2 - v1;
189 Vec3<T> b = v2 - v0;
231 const Vec3<T> &v2,
245 tmp = (v2 - l.closestPointTo(v2)).length2();
249 nearest = v2;