Lines Matching defs:eNew

442 /* __gl_meshAddEdgeVertex( eOrg ) creates a new edge eNew such that
443 * eNew == eOrg->Lnext, and eNew->Dst is a newly created vertex.
444 * eOrg and eNew will have the same left face.
449 GLUhalfEdge *eNew = MakeEdge( eOrg );
450 if (eNew == NULL) return NULL;
452 eNewSym = eNew->Sym;
455 Splice( eNew, eOrg->Lnext );
458 eNew->Org = eOrg->Dst;
463 MakeVertex( newVertex, eNewSym, eNew->Org );
465 eNew->Lface = eNewSym->Lface = eOrg->Lface;
467 return eNew;
471 /* __gl_meshSplitEdge( eOrg ) splits eOrg into two edges eOrg and eNew,
472 * such that eNew == eOrg->Lnext. The new vertex is eOrg->Dst == eNew->Org.
473 * eOrg and eNew will have the same left face.
477 GLUhalfEdge *eNew;
481 eNew = tempHalfEdge->Sym;
483 /* Disconnect eOrg from eOrg->Dst and connect it to eNew->Org */
485 Splice( eOrg->Sym, eNew );
488 eOrg->Dst = eNew->Org;
489 eNew->Dst->anEdge = eNew->Sym; /* may have pointed to eOrg->Sym */
490 eNew->Rface = eOrg->Rface;
491 eNew->winding = eOrg->winding; /* copy old winding information */
492 eNew->Sym->winding = eOrg->Sym->winding;
494 return eNew;
499 * to eDst->Org, and returns the corresponding half-edge eNew.
501 * and the newly created loop is eNew->Lface. Otherwise, two disjoint
512 GLUhalfEdge *eNew = MakeEdge( eOrg );
513 if (eNew == NULL) return NULL;
515 eNewSym = eNew->Sym;
524 Splice( eNew, eOrg->Lnext );
528 eNew->Org = eOrg->Dst;
530 eNew->Lface = eNewSym->Lface = eOrg->Lface;
539 /* We split one loop into two -- the new loop is eNew->Lface */
540 MakeFace( newFace, eNew, eOrg->Lface );
542 return eNew;