var Diamond = new Class({ 

    Implements: new Options, 
	
	Extends : Poly,
	
	options : {
	},

	initialize : function(options){	
		this.parent(options); 
		this.coords = [];
		this.facets = 15;
		var x = 0.0;
		var y = 0.0;
		var z = 0.0;		
		//outerlying 
		this.coords.push(new Vertex({x:0,y:0,z:0}));
		this.coords.push(new Vertex({x:0,y:0,z:1}))	
		this.coords.push(new Vertex({x:0,y:0,z:-1}))											
		this.coords.push(new Vertex({x:0,y:-1,z:0}));		
		this.coords.push(new Vertex({x:0,y:1,z:0}))
		// core diamond		
		this.coords.push(new Vertex({x:1,y:0,z:0}))
		this.coords.push(new Vertex({x:.5,y:.333,z:0}))
		this.coords.push(new Vertex({x:.5,y:-.333,z:0}))
		this.coords.push(new Vertex({x:.5,y:0,z:.333}))
		this.coords.push(new Vertex({x:.5,y:0,z:-.333}))			
		this.coords.push(new Vertex({x:-1,y:0,z:0}));
		this.coords.push(new Vertex({x:-.5,y:.333,z:0}))
		this.coords.push(new Vertex({x:-.5,y:-.333,z:0}))
		this.coords.push(new Vertex({x:-.5,y:0,z:.333}))
		this.coords.push(new Vertex({x:-.5,y:0,z:-.333}))	
	}	
});
