Project

General

Profile

Download (14.6 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / objects / TwistySquare2.java @ d5380277

# Date Author Comment
d5380277 09/07/2021 02:06 AM Leszek Koltunski

Remove statics from the Square classes.

0021af58 09/02/2021 10:44 PM Leszek Koltunski

Convert Square-2 to the new generic scrambling algorithm.

In order to do it we need to introduce a third, artificial rotational axis - otherwise the algorithm would make it impossible to rotate the lower layer and immediatelly after - the upper.

e42a9e87 09/01/2021 10:24 PM Leszek Koltunski

Fix the Square-2 isSolved() (it was wrong even before!)

a480ee80 08/26/2021 01:13 AM Leszek Koltunski

Standarize the 'isSolved()' method: now all objects, except one (Dino4) have a standard isSolved().
This incidentally also fixes detection of the solved state in case of Diamond4, i.e. a Master FTO.

3e605536 08/23/2021 03:20 PM Leszek Koltunski

Finally remove cubit creation from the implementation classes and move it to the TwistyObject.

fd836c4e 08/23/2021 02:07 PM Leszek Koltunski

Convert the two Squares to the new scheme.

47d98cd5 08/17/2021 05:30 PM Leszek Koltunski

Convert the Ivy corner cubit to the new, 'universal' cubit creation method.

This forces deep changes to 'createRoundSolid' and the underlying 'MeshPolygon' class to make them support arbitrary Polygon 'centers of face convexity'.

Reason: the faces of this cubit are concave and such default 'center of face convexity' (which by default used to be (0,0)) turned to lie outside the face - which produces strange visual artifacts.

9c06394a 08/08/2021 04:21 PM Leszek Koltunski

Standarize drawing stickers of a twisty puzzle. From now on, there's no 'sticker drawing' code in the individual classes, only some constants.

29bc084f 08/06/2021 01:48 PM Leszek Koltunski

Convert the last 'special' case, the Rex edge sticker, to the generic sticker mechanism.

9ce78850 08/06/2021 12:38 AM Leszek Koltunski

Generalize FactorySticker - make it possible to draw stickers whose sides are curved.
Convert the Ivy to use this new functionality.

9f171eba 06/13/2021 10:35 PM Leszek Koltunski

Preparation for 'smart scrambling' : introduce the total number of scrambles to the 'randomizeNewScramble' function.

57e86ed0 06/10/2021 03:07 PM Leszek Koltunski

Square-2: correct detecting the solved state.

132841b6 06/09/2021 12:13 AM Leszek Koltunski

Squares: add tutorials.
Correct the order of objects in the tutorial dialog.

ec1a91f8 06/08/2021 02:52 PM Leszek Koltunski

Square-2: minor.

1cef1481 06/08/2021 02:13 PM Leszek Koltunski

Square-2 fix.

da69c279 06/08/2021 01:44 PM Leszek Koltunski

Square-2: progress.

e2b9e87e 06/08/2021 01:03 PM Leszek Koltunski

Introduce Square-2 (unfinished)