Revision 12ad3fca
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikCube.java | ||
---|---|---|
145 | 145 |
return new VertexEffectSink( new Static1D(strength), center, region ); |
146 | 146 |
} |
147 | 147 |
|
148 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
149 |
|
|
150 |
Static3D[] getRotationAxis() |
|
151 |
{ |
|
152 |
return AXIS; |
|
153 |
} |
|
154 |
|
|
155 | 148 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
156 | 149 |
// paint only the square with lower-left corner at (face*TEX_H,0) and side length TEX_H |
157 | 150 |
|
... | ... | |
207 | 200 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
208 | 201 |
// PUBLIC API |
209 | 202 |
|
203 |
public Static3D[] getRotationAxis() |
|
204 |
{ |
|
205 |
return AXIS; |
|
206 |
} |
|
207 |
|
|
208 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
209 |
|
|
210 | 210 |
public int getBasicAngle() |
211 | 211 |
{ |
212 | 212 |
return 4; |
Also available in: Unified diff
Progress with object Movement - almost finished.