Revision 8badfe2a
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/control/RubikControlRotate.java | ||
---|---|---|
41 | 41 |
|
42 | 42 |
private Dynamic3D mDynamic; |
43 | 43 |
private MatrixEffectScale mScale; |
44 |
private MeshQuad mQuad; |
|
44 | 45 |
|
45 | 46 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
46 | 47 |
|
... | ... | |
79 | 80 |
if( mNodes==null ) |
80 | 81 |
{ |
81 | 82 |
mNodes = new DistortedNode[NUM_NODE]; |
82 |
MeshQuad mesh = new MeshQuad(); |
|
83 |
DistortedTexture texture = new DistortedTexture(); |
|
84 |
texture.setColorARGB(0xff00ff00); |
|
85 |
|
|
86 |
mNodes[0]= new DistortedNode(texture,mEffects[0],mesh); |
|
83 |
mQuad = new MeshQuad(); |
|
87 | 84 |
} |
85 |
|
|
86 |
DistortedTexture texture = new DistortedTexture(); |
|
87 |
texture.setColorARGB(0xff00ff00); |
|
88 |
mNodes[0] = new DistortedNode(texture, mEffects[0], mQuad); |
|
88 | 89 |
} |
89 | 90 |
|
90 | 91 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Progress with RubikControl.