blonkm / rubiks-cube

WebGL Rubik's Cube
http://goo.gl/uDQH6U
MIT License
39 stars 10 forks source link

perspective view after the solve #52

Closed bcube2 closed 9 years ago

bcube2 commented 9 years ago

It is really not a bug, I am just letting you know that after solving of the cube (using mouse) and hitting the space button, the cube´s view is as expected but colors on it are in different order (meaning that on top is for instance white, on right is blue etc.). Hitting the reset button to get the default color orientation and also expected view always works.

I can not see a reason why anybody should care about orientation of the cube after the solve (wca surely does not). Plus the user can always rotate the cube as a whole anytime...

blonkm commented 9 years ago

This is by design. Perspective view is just turning the cube by some degrees without looking at original position.

I think I can leave it like this. In fact I should remove the keyboard events since with multiple cubes on-screen you can't know for which cube the event is. On May 25, 2015 4:15 AM, "bcube2" notifications@github.com wrote:

It is really not a bug, I am just letting you know that after solving of the cube (using mouse) and hitting the space button, the cube´s view is as expected but colors on it are different (meaning that on top is for instance white, on right is blue etc.). Hitting the reset button to get the default color orientation and also expected view always works.

I can not see a reason why anybody should care about orientation of the cube after the solve (wca surely does not). Plus the user can always rotate the cube as a whole anytime...

— Reply to this email directly or view it on GitHub https://github.com/blonkm/rubiks-cube/issues/52.

blonkm commented 9 years ago

Functionality will be removed when multiple cubes is done.