Ejemplo n.º 1
0
        public RubikCube(CubeFace[,] projection, int size, Point3D o, TimeSpan duration, double len = 1, double space = 0.1)
        {
            this.size = size;
            this.origin = o;
            this.edge_len = len;
            this.space = space;
            this.projection = new Cube2D(size, projection);
            this.animationDuration = duration;

            createCubeFromProjection();
        }
Ejemplo n.º 2
0
        public RubikCube(CubeFace[,] projection, int size, Point3D o, TimeSpan duration, double len = 1, double space = 0.1)
        {
            this.size              = size;
            this.origin            = o;
            this.edge_len          = len;
            this.space             = space;
            this.projection        = new Cube2D(size, projection);
            this.animationDuration = duration;

            createCubeFromProjection();
        }