Revision e844c116
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/object/RubikCube.java | ||
---|---|---|
38 | 38 |
|
39 | 39 |
class RubikCube extends RubikObject |
40 | 40 |
{ |
41 |
// the three rotation axis of a RubikCube |
|
41 |
// the three rotation axis of a RubikCube. Must be normalized.
|
|
42 | 42 |
private static final Static3D[] AXIS = new Static3D[] |
43 | 43 |
{ |
44 | 44 |
new Static3D(1,0,0), |
... | ... | |
171 | 171 |
|
172 | 172 |
return new MeshJoined(meshes); |
173 | 173 |
} |
174 |
|
|
175 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
176 |
// PUBLIC API |
|
177 |
|
|
178 |
public int getBasicAngle() |
|
179 |
{ |
|
180 |
return 4; |
|
181 |
} |
|
174 | 182 |
} |
Also available in: Unified diff
Beginnings of Pyraminx.