Revision d90c55cc
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objects/TwistyCube.java | ||
---|---|---|
62 | 62 |
|
63 | 63 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
64 | 64 |
|
65 |
TwistyCube(int size, Static4D quat, DistortedTexture texture, |
|
66 |
MeshSquare mesh, DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
|
|
65 |
TwistyCube(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
|
|
66 |
DistortedEffects effects, int[][] moves, Resources res, int scrWidth) |
|
67 | 67 |
{ |
68 | 68 |
super(size, size, quat, texture, mesh, effects, moves, ObjectList.CUBE, res, scrWidth); |
69 | 69 |
|
... | ... | |
186 | 186 |
|
187 | 187 |
int[][] vert_indices = new int[][] |
188 | 188 |
{ |
189 |
{2,3,1,0}, // counterclockwise!
|
|
189 |
{2,3,1,0}, |
|
190 | 190 |
{7,6,4,5}, |
191 | 191 |
{4,0,1,5}, |
192 | 192 |
{7,3,2,6}, |
... | ... | |
364 | 364 |
|
365 | 365 |
public int[] getBasicAngle() |
366 | 366 |
{ |
367 |
if( mBasicAngle ==null ) mBasicAngle = new int[] { 4,4,4 };
|
|
367 |
if( mBasicAngle==null ) mBasicAngle = new int[] { 4,4,4 }; |
|
368 | 368 |
return mBasicAngle; |
369 | 369 |
} |
370 | 370 |
|
Also available in: Unified diff
Make the 'Play' popup always fit within the window height.