Project

General

Profile

« Previous | Next » 

Revision 59a971c1

Added by Leszek Koltunski over 2 years ago

Remove the need to provide the number of outer faces of a ObjectShape.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyUltimate.java
143 143
           {4,1,6,2},
144 144
         };
145 145

  
146
      return new ObjectShape(vertices, indices, 3);
146
      return new ObjectShape(vertices, indices);
147 147
      }
148 148
    else if( variant==1 )
149 149
      {
......
168 168
           {2,6,1,4},
169 169
         };
170 170

  
171
      return new ObjectShape(vertices, indices, 3);
171
      return new ObjectShape(vertices, indices);
172 172
      }
173 173
    else
174 174
      {
......
198 198
           {10,8,2,6}
199 199
         };
200 200

  
201
      return new ObjectShape(vertices, indices, 4);
201
      return new ObjectShape(vertices, indices);
202 202
      }
203 203
    }
204 204

  

Also available in: Unified diff