Project

General

Profile

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

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

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

Remove statics from the Square classes.

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

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

5e254115 08/26/2021 10:39 PM Leszek Koltunski

auto-compute the bandaged status from dimension of the CENTERS. Make 'computeBitmapFromRow' generic for bandageed and not bandaged objects.

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.

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)

542ec777 06/08/2021 09:10 AM Leszek Koltunski

Square-1: looks to be finished.

f171c91e 06/05/2021 01:11 AM Leszek Koltunski

Square-1: progress with automatic scrambling.

f20119c6 06/05/2021 12:02 AM Leszek Koltunski

Square-1: implement the fact that corners might bandage the puzzle.

1ded8771 06/04/2021 01:37 PM Leszek Koltunski

Square-1: progress with movement.

e6734aa9 06/04/2021 01:25 AM Leszek Koltunski

Make it possible for an object to have different 'cuts' along each of its axis.

925ed78f 06/04/2021 12:26 AM Leszek Koltunski

Make it possible for an object to have different 'basicAngles' along each of its axis.

582617c1 06/03/2021 10:46 PM Leszek Koltunski

Hide more stuff in the TwistyObject class.

0203be88 06/03/2021 10:06 PM Leszek Koltunski

Remove the need for RowChances.

1f0dfb31 06/03/2021 09:11 PM Leszek Koltunski

Square-1.

06ad47b6 06/03/2021 04:36 PM Leszek Koltunski

Progress with cubit shapes of the Square-1.

c4f0dbce 06/03/2021 04:00 PM Leszek Koltunski

improvements for FactorySticker

d6fa5f24 06/03/2021 02:14 PM Leszek Koltunski

Square-1: progress

834b2618 06/03/2021 01:40 PM Leszek Koltunski

Square-1: beginnings