Revision da178c88
Added by Leszek Koltunski over 3 years ago
- added
- modified
- copied
- renamed
- deleted
- src
- main
- java
- org
- distorted
- objects
- Movement.java (diff)
- MovementCube.java (diff)
- MovementDiamond.java (diff)
- MovementDino.java (diff)
- MovementHelicopter.java (diff)
- MovementIvy.java (diff)
- MovementJing.java (diff)
- MovementMinx.java (diff)
- MovementPyraminx.java (diff)
- MovementRedi.java (diff)
- MovementRex.java (diff)
- MovementSkewb.java (diff)
- MovementSquare.java (diff)
- MovementUltimate.java (diff)
- objects
- distorted
- org
- java
- main
Make computing the offset in the Movement class more correct. From now on, in the center of the face the offset if always 0 regardless of the axis.
Before it would always assume that we can add DIST2D to the offset which is originated at the center of the face and this way get an offset which spans from 0 to height of the face. This is not always true - conterexample: half of the triangluar faces of an octahedron which are 'upside down'