Revision c1ffdea8
Added by Leszek Koltunski over 4 years ago
src/main/java/org/distorted/library/mesh/MeshBase.java | ||
---|---|---|
598 | 598 |
|
599 | 599 |
if( component>=0 && component<num ) |
600 | 600 |
{ |
601 |
int sta = component>0 ? mComponent.get(component-1).mEndIndex+1 : 0;
|
|
601 |
int sta = component>0 ? mComponent.get(component-1).mEndIndex : 0; |
|
602 | 602 |
int end = mComponent.get(component).mEndIndex; |
603 | 603 |
|
604 | 604 |
sta = sta*VERT2_ATTRIBS + ASS_ATTRIB; |
605 | 605 |
end = end*VERT2_ATTRIBS + ASS_ATTRIB; |
606 | 606 |
|
607 |
for(int i=sta; i<=end; i+=VERT2_ATTRIBS)
|
|
607 |
for(int i=sta; i<end; i+=VERT2_ATTRIBS) |
|
608 | 608 |
{ |
609 | 609 |
mVertAttribs2[i] = association; |
610 | 610 |
} |
Also available in: Unified diff
Some progress with 'MeshJoin' app.