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

  
src/main/java/org/distorted/objectlib/objects/TwistyBandagedGeneric.java
63 63

  
64 64
          {-1.0f, -1.0f, +1.0f,
65 65
           -1.0f, -1.0f, +0.0f,
66
           -1.0f, -1.0f, -1.0f },
67

  
66
           -1.0f, -1.0f, -1.0f,
67
            0.0f, -1.0f, +1.0f,
68
            0.0f, -1.0f, +0.0f},
68 69
/*
69 70
          {-1.0f, +1.0f, +1.0f},
70 71
          {-1.0f, +1.0f, +0.0f},
......
82 83
          { 0.0f, +1.0f, -1.0f},
83 84
          { 0.0f,  0.0f, +1.0f},
84 85
          { 0.0f,  0.0f, -1.0f},
85
          { 0.0f, -1.0f, +1.0f},
86
          { 0.0f, -1.0f, +0.0f},
86

  
87 87

  
88 88
          { 1.0f, +1.0f, +1.0f},
89 89
          { 1.0f, +1.0f, +0.0f},

Also available in: Unified diff