Corrected vertex reference assignment for second triangle in AddQuadFace for the case of two triangles with faux flags
This commit is contained in:
parent
b035dc8ba7
commit
b7694288e5
|
@ -534,7 +534,7 @@ public:
|
||||||
fi->Alloc(3); fi->V(0)=v0; fi->V(1)=v1; fi->V(2)=v2;
|
fi->Alloc(3); fi->V(0)=v0; fi->V(1)=v1; fi->V(2)=v2;
|
||||||
fi->SetF(2);
|
fi->SetF(2);
|
||||||
++fi;
|
++fi;
|
||||||
fi->Alloc(3); fi->V(0)=v0; fi->V(2)=v1; fi->V(3)=v2;
|
fi->Alloc(3); fi->V(0)=v0; fi->V(1)=v2; fi->V(2)=v3;
|
||||||
fi->SetF(0);
|
fi->SetF(0);
|
||||||
return fi;
|
return fi;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue