public void addRectShape(float[] v,float[] v1,float[] v2,float[] v3,float[] v4,float[] v5,float[] v6,float[] v7,int w,int h,int d){
  float[] var1=new float[]{1,1,1,1,1,1,1,1,1,1,1,1};
  addRectShape(v,v1,v2,v3,v4,v5,v6,v7,w,h,d,var1);
}

public void addRectShape ( float [ ] v , float [ ] v1 , float [ ] v2 , float [ ] v3 , float [ ] v4 , float [ ] v5 , float [ ] v6 , float [ ] v7 , int w , int h , int d ) { float [ ] var1 = new float [ ] { 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 } ; addRectShape ( v , v1 , v2 , v3 , v4 , v5 , v6 , v7 , w , h , d , var1 ) ; }
adds a rectangular shape . basically , you can make any eight - pointed shape you want , as the method requires eight vector coordinates .
