I currently have a program which creates a rubiks cube and can solve and scramble and all that sort of stuff but i'm still not happy with the actual cube implementation. Currently it displays the front face and either the left, top, right or bottom face depending on what the x coordinate is of the current front face and this causes error because there is sometimes when the cube is only displaying 2 faces when it should be showing 3 or sometimes after a lot of rotation it displays the wrong sides causing overlapping.
So basically i want to know if there is a way to display the correct sides at all times as realistically i can only show 3 sides at one time or colours overlap
thanks in advance