Rubik::View - The view module for Rubik's cube simulator
version 0.94
This module is responsible for using OpenGL to render the cube. It's also responsible for storing positions of vertices and current rotation angle and current move and the width/height of the viewport.
This method recevies as parameter the face to rotate, and draws all the cubies but puts the cubies to be rotate aside, and afterwards it draws those also at the rotated angle $self->spin.
Stefan Petrea, <stefan.petrea at gmail.com>
<stefan.petrea at gmail.com>
To install CM::Permutation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CM::Permutation
CPAN shell
perl -MCPAN -e shell install CM::Permutation
For more information on module installation, please visit the detailed CPAN module installation guide.