Continuing from yesterday's assignment, I have realised that due to the cube being drawn once and the buffer being swap only once for every round, this caused my snapTo90Angle method to only allow the top most layer to turn back to 90 degrees.
As such, I now have to limit the user to only move a particular surface in only a partricular direction.
Howeer, despite most of the rotation working smoothly now, I found out that there is a serious problem with the bottom and top layer right and left rotation, which caused some cubes to go missing suddenly.
Today I have also fixed the insufficient memory crash by moving all images declaration to the outside of the draw rubic method, and into the global declaration part
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment