Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / helpers @ 8db55f55

Latest revisions

# Date Author Comment
8db55f55 08/30/2021 01:46 AM Leszek Koltunski

Preparation for unification of scrambling. Scrambling of all objects will be done by a generic funtion, only fed a certain data structure by the objects. The data structure is going to be the ScrambleStateGraph - a directed state graph of all states we can come across while scrambling....

ad7907b0 08/19/2021 11:28 PM Leszek Koltunski

Important step towards making the implementation of an individual puzzle code-free (i.e. data-only): move the 'MeshBase[] mMeshes' variable from the individual classes to the parent TwistyObject.

45f63f17 08/19/2021 10:44 PM Leszek Koltunski

Introduce ObjectShape - a class encapsulating a shape of a Cubit.
Make the Megaminx cubit creation a bit more standard.

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.

b379d2d7 08/06/2021 11:06 AM Leszek Koltunski

New sticker mechanism: improvements for concave stickers.

e0613906 08/06/2021 01:27 AM Leszek Koltunski

Convert the Rex corner sticker to the new mechanism.

f1104ed9 08/06/2021 12:39 AM Leszek Koltunski

Remove debugging.

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.

View revisions

Also available in: Atom