The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Rubik::View - The view module for Rubik's cube simulator

VERSION

version 0.94

DESCRIPTION

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.

rotate_face()

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.

AUTHOR

Stefan Petrea, <stefan.petrea at gmail.com>