Project

General

Profile

« Previous | Next » 

Revision 9c8ea8a6

Added by Leszek Koltunski over 2 years ago

Progress with FactoryBandaged.

View differences:

src/main/java/org/distorted/objectlib/helpers/FactoryBandaged3x3Cubit.java
819 819
    }
820 820

  
821 821
///////////////////////////////////////////////////////////////////////////////////////////////////
822
// TODO
823 822

  
824 823
  private int[] generateCornerIndices(float[][] vertices, int[][] indices)
825 824
    {
826 825
    int len = vertices.length;
827 826
    int[] cornerIndices = new int[len];
828
    for(int i=0; i<len; i++) cornerIndices[i] = -1;
827
    for(int i=0; i<len; i++) cornerIndices[i] = 0;
829 828
    return cornerIndices;
830 829
    }
831 830

  

Also available in: Unified diff