Lines Matching refs:edge1
72 vector edge1, edge2, edge3; in newtri() local
74 VSub(&v1, &v0, &edge1); in newtri()
79 if ((VLength(&edge1) >= EPSILON) && (VLength(&edge2) >= EPSILON) && in newtri()
88 t->edge1 = edge1; in newtri()
99 vector edge1, edge2, edge3; in newstri() local
101 VSub(&v1, &v0, &edge1); in newstri()
106 if ((VLength(&edge1) >= EPSILON) && (VLength(&edge2) >= EPSILON) && in newstri()
115 t->edge1 = edge1; in newstri()
143 VAdd(&t->v0, &t->edge1, &v1); in tri_bbox()
165 det = DOT(trn->edge1, pvec); in tri_intersect()
181 CROSS(qvec, tvec, trn->edge1); in tri_intersect()
195 CROSS((*N), trn->edge1, trn->edge2); in tri_normal()
210 CROSS(norm, trn->edge1, trn->edge2); in stri_normal()
218 CROSS(tmp, trn->edge1, P); in stri_normal()