Project

General

Profile

« Previous | Next » 

Revision ddb41b57

Added by Leszek Koltunski 11 months ago

next bugfix

View differences:

src/main/java/org/distorted/objectlib/helpers/FactoryBandagedCuboid.java
742 742
          {
743 743
          if(ind[v]==index)
744 744
            {
745
            int prev=v>0 ? v-1 : numComponentsInFace-1;
746
            int next=v<numComponentsInFace-1 ? v+1 : 0;
745
            int prev=v>0 ? v-1 : numVertsInComponent-1;
746
            int next=v<numVertsInComponent-1 ? v+1 : 0;
747 747

  
748 748
            int prevIndex=ind[prev];
749 749
            int currIndex=ind[v];

Also available in: Unified diff