
var Cube = new Class({ //Hexahedron 

    Implements: new Options, 
	
	Extends : Poly,
	
	options : {
	},
	
	initialize : function(options){	
		this.parent(options);  
		this.coords = [];		
		this.facets = 27;
		var x = 0;
		var y = 0;
		var z = 0;	
		for(x =- 1; x <= 1; x += 1){
			for(y =- 1; y <= 1; y += 1){								
				for(z =- 1; z <= 1; z += 1){	
					this.coords.push(new Vertex({x:x,y:y,z:z}));
				}
			}
		}
	}
});