|
![](/i/fill.gif) |
Christopher James Huff wrote:
> {
> AddTriangle(p1, p2, p3, n1, n2, n3, t1, t2, t3);
> AddTriangle(p1, p3, p4, n1, n3, n4, t1, t3, t4);
> }
Beware of the hashing system: I seem to remember that there was a side
effects on the vertex when addding a triangle, at least in 3.1g.
Safe way is/was to keep a 'protected' copy of the shared vertices/data:
first you use one set, next you use the other set (and never twice the
same variables!)
Post a reply to this message
|
![](/i/fill.gif) |