Revision ef018c1b
Added by Leszek Koltunski over 3 years ago
- added
- modified
- copied
- renamed
- deleted
- src
- main
- java
- org
- distorted
- objects
- Movement.java (diff)
- Movement12.java (diff)
- Movement4.java (diff)
- Movement6.java (diff)
- Movement8.java (diff)
- MovementCornerTwisting.java (diff)
- MovementCube.java (diff)
- MovementDiamond.java (diff)
- MovementHelicopter.java (diff)
- MovementIvy.java (diff)
- MovementJing.java (diff)
- MovementMinx.java (diff)
- MovementPyraminx.java (diff)
- MovementSquare.java (diff)
- MovementUltimate.java (diff)
- TwistyBandagedAbstract.java (diff)
- TwistyCube.java (diff)
- TwistyDiamond.java (diff)
- TwistyDino.java (diff)
- TwistyHelicopter.java (diff)
- TwistyIvy.java (diff)
- TwistyJing.java (diff)
- TwistyKilominx.java (diff)
- TwistyMegaminx.java (diff)
- TwistyMinx.java (diff)
- TwistyMirror.java (diff)
- TwistyPyraminx.java (diff)
- TwistyRedi.java (diff)
- TwistyRex.java (diff)
- TwistySkewb.java (diff)
- TwistySquare.java (diff)
- TwistyUltimate.java (diff)
- objects
- distorted
- org
- java
- main
Abstract the next function, computeRowFromOffset(), out of the individual Movement classes.
Still two issues:
1) mysterious 1.5 multiplier in Movement12
2) in Movement8, moving the offset works only if the rotAxis are face-turning, i.e. they connect the centers of the opposing faces of the octahedron.