Rubik::Cubie
version 0.94
This is used for displaying the Rubik's cube
Labels for a cubie ( there are 3x3x3 in the rubik's cube ) this cube will help with understanding what's going on in the code, the numbers are the indices of the vertices inside the @v array below
_________________________ /1_____________________ 5/| / / ___________________/ / | / / /| | / / | / / / | | / / . | / / /| | | / / /| | / / / | | | / / / | | / / / | | | / / /| | | / /_/__________________/ / / | | | /________________________/ / | | | |0______________________4| | | | | | | | | | |_________| | |__| | | | | | | |___________| | |____| | | | | / /2___________| | |_ 6 / | | | / / / | | |/ / / | | | / / / | | | / / | | |/ / / | | |/ / | | | / / | | ' / | | |/_/_______________| | / | |____________________| | / |3______________________7|/
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.