Revision 59a971c1
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyDino.java | ||
---|---|---|
188 | 188 |
{ |
189 | 189 |
float[][] vertices= { {-1.5f, 0.0f, 0.0f},{ 1.5f, 0.0f, 0.0f},{ 0.0f,-1.5f, 0.0f},{ 0.0f, 0.0f,-1.5f} }; |
190 | 190 |
int[][] indices = { {2,1,0},{3,0,1},{2,3,1},{3,2,0} }; |
191 |
return new ObjectShape(vertices, indices, 2);
|
|
191 |
return new ObjectShape(vertices, indices); |
|
192 | 192 |
} |
193 | 193 |
|
194 | 194 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Remove the need to provide the number of outer faces of a ObjectShape.