Project

General

Profile

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

magiccube / src / main / java / org / distorted / main / RubikSurfaceView.java @ f5da732a

# Date Author Comment
f5da732a 05/04/2021 12:52 AM Leszek Koltunski

Cube Control: step 2.

fcd5b990 05/02/2021 01:56 PM Leszek Koltunski

Rename 'state' to 'screen'

80fe0ef7 03/10/2021 09:34 AM Leszek Koltunski

Bugfix for a crasher

30bc2d91 03/08/2021 02:58 PM Leszek Koltunski

Fix movements of objects - before it really worked only when an object's FOV was about 60 degrees.

a64e07d0 01/19/2021 04:17 PM Leszek Koltunski

Beginnings of Megaminx & Gigaminx

2f6da3f4 10/22/2020 11:05 PM Leszek Koltunski

Catch exceptions when rotating.

d99f3a48 10/16/2020 08:32 AM Leszek Koltunski

Spearate the concept of number of layers of an object and its size.
In case of the Skewb family, this is no longer the same (Master Skewb has 3 layers but it's twice bigger than the 2-layered Skewb)

ac722a43 10/09/2020 11:17 PM Leszek Koltunski

More debugging for the case of suspicious submits.

e7e0a94d 10/01/2020 04:18 PM Leszek Koltunski

Simplify OpenGL error dialog. Show it only once.

ee39837d 09/26/2020 11:30 PM Leszek Koltunski

Progress with the Diamond. Everything working except for the isSolved(): turns out the center cubits can end up rotated along the face by multitudes of 120 degrees.

be576d14 09/25/2020 08:37 AM Leszek Koltunski

Rename some classes.

9c2f0c91 09/25/2020 08:35 AM Leszek Koltunski

Rename some classes.

ca3300c3 09/25/2020 08:29 AM Leszek Koltunski

Rename 'RubikMovement' to 'Movement'

ece1b58d 09/25/2020 08:27 AM Leszek Koltunski

1) correction for Dino4's isSolved() [ remember about the mirror! ]
2) beginnings of support for the Skewb Diamond

46405bb4 09/23/2020 09:29 PM Leszek Koltunski

Add lock button.

49595e4b 08/26/2020 02:53 PM Leszek Koltunski

Fix for one bug seen in Firebase and additional debugging for another.

935f3663 08/11/2020 06:12 PM Leszek Koltunski

Fix the way we continue rotation: when rotating a layer, we need to be doing it with respect to the RotAxis which has been first casted to the touched face, and only then this casted one is casted to the surface of the screen.

Before we were casting the rotAxis directly to the screen without the intermediate casting to the face, which doesn't really work in case of the Dino: if the touched face is rotated away by quite a lot, the rotAxis is then completely counterintuitive.

fb377dae 08/11/2020 02:19 PM Leszek Koltunski

Major progress with Dino; rotations (almost?) work now.

c7e79b69 08/10/2020 09:31 PM Leszek Koltunski

Progress with Dino Movement

faa3aed0 08/10/2020 06:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 2 )

ad38d800 08/09/2020 10:01 PM Leszek Koltunski

Introduce separate ROT_AXIS and FACE_AXIS ( step 1 )

4489e68e 07/24/2020 02:50 PM Leszek Koltunski

Catch possible exceptions setting up the Renderer (possible on very old devices) and display the OpenGL error popup.

b96a20a4 07/04/2020 09:48 PM Leszek Koltunski

Catch an error that sometimes happens in the field.

c7b00dfb 06/26/2020 01:54 PM Leszek Koltunski

Introduce two-fingered object resize.

15846fe4 06/25/2020 09:35 PM Leszek Koltunski

cube_back and cube_solve buttons.

e03e0352 06/25/2020 08:53 PM Leszek Koltunski

Remove the 'MAIN' state.
Fix one crasher with two-fingered dragging in the View.

c558f011 06/23/2020 05:08 PM Leszek Koltunski

Improve setting text size in Spinners (forgotten part).

7695a3be 06/19/2020 11:52 PM Leszek Koltunski

Two-fingered object rotation seems to be finished.

a4472437 06/19/2020 09:38 PM Leszek Koltunski

Progress with dragging.

4da7d87a 06/19/2020 06:19 PM Leszek Koltunski

Simplify dragging. Now there's only 1 Quat, rather than the old way with two (Accumulated, Current).

0b7e1b05 06/19/2020 12:35 PM Leszek Koltunski

Progress with improvements for cube manipulation.

8d50e08d 06/18/2020 09:03 PM Leszek Koltunski

Initial attempt at two-finger rotation.
Mostly works; still, one corner case doesnt:

- put two fingers down, start rotating
- lift one of them up
- put it back down

depending if we lifted the first or second finger, weird things may happen.

4c864c68 06/18/2020 11:05 AM Leszek Koltunski

Further improve rotations of a Object layer - make them independent of physical screen size (now it depends on the angle of rotation and, if that's 0, on the speed (in inches of second) of the finger swipe done by the user.

cd83d0aa 06/18/2020 10:39 AM Leszek Koltunski

Make the rotations and drag be independent of physical screen dimensions - take into account pixel density.

f0533889 06/17/2020 08:57 PM Leszek Koltunski

Split up the onTouch() part of the View.

168b6b56 06/17/2020 03:45 PM Leszek Koltunski

Improvements for the way we rotate layers of Objects. (take the speed into account - so even if we rotated a layer of a Cube to less than 45 degrees, but we did it fast, do a 90 degree rotation!)

5a4d4fba 06/09/2020 11:18 PM Leszek Koltunski

Convert the PostRender to a PreRender, called before we render.
This makes more sense as this way things are prepared for the very first render.

2e8ec627 04/25/2020 10:45 PM Leszek Koltunski

Fixes for the fact that one could easily cheat - just pause the app while solving and come back to it, the time would reset to 0 and the object to unscrambled :(

807d82b7 04/25/2020 05:33 PM Leszek Koltunski

Add two new UI States: Ready and Done.

0e5ad27c 04/10/2020 11:23 PM Leszek Koltunski

Add a 'withdraw move' button to the Solving UI state.

4e248bcc 04/10/2020 12:38 AM Leszek Koltunski

Bugfix.

46a961fd 04/08/2020 10:13 PM Leszek Koltunski

The 3x3x3 Solver finished - here the last piece of work, locking the centers of the 3x3x3 cube in place so that RubikStateSolver's color picker cannot change them ( the CUBE3 solver assumes this )

9621255f 04/05/2020 10:45 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

473611ee 04/05/2020 06:42 PM Leszek Koltunski

Progress with the 3x3x3 Solver.

1f9772f3 04/05/2020 02:10 PM Leszek Koltunski

More support for the 3x3x3 Solver: more of the actual 3x3x3 solver mechanism.