Project

General

Profile

Download (3.36 KB) Statistics
| Branch: | Revision:

distorted-objectlib / src / main / java / org / distorted / objectlib / main / TwistyObjectNode.java @ b480f4dd

# Date Author Comment
30bd2f96 01/19/2023 04:55 PM Leszek Koltunski

Move the control of object scaling out the objectlib.
Thee xact way the object is scaled needs to be decided in the app, as only the app knows that e.g. in the Rubik main screen, if it is a square, then obejct needs to be a bit smaller than in case of Config screen (if that one happens to be a square)

4c87f159 07/15/2022 12:56 AM Leszek Koltunski

main: license.

04a4ece1 11/30/2021 01:26 PM Leszek Koltunski

Fix projection matrix with which the puzzles get rendered: make it independent of the aspect ratio of the underlying surface.

7fe64077 11/03/2021 01:57 PM Leszek Koltunski

Small things.

3d093961 11/03/2021 01:10 AM Leszek Koltunski

Fix the solver (after rearranging the faces of the cuboids)

64c209f5 11/02/2021 11:30 PM Leszek Koltunski

Fix problems with TwistyObjectNode 'object scale' property.
Now this property is not part of the Node at all, but its initial value passed to the object in its constructor.

0e1437c1 11/02/2021 10:30 AM Leszek Koltunski

Correct the way ObejctScale works in the TwistyObjectNode.

e32d318a 10/22/2021 11:00 AM Leszek Koltunski

new API to make is possible to adjust default scale factor in each TwistyObjectNode.
(and use it in Tutorials, where the object needs to be smaller)

7ba38dd4 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)