public void addCylinder(float x,float y,float z,float radius,float length,int segments,float baseScale,float topScale,int baseDirection){
  addCylinder(x,y,z,radius,length,segments,baseScale,topScale,baseDirection,(int)Math.floor(radius * 2F),(int)Math.floor(radius * 2F),(int)Math.floor(length));
}

public void addCylinder ( float x , float y , float z , float radius , float length , int segments , float baseScale , float topScale , int baseDirection ) { addCylinder ( x , y , z , radius , length , segments , baseScale , topScale , baseDirection , ( int ) Math . floor ( radius * 2F ) , ( int ) Math . floor ( radius * 2F ) , ( int ) Math . floor ( length ) ) ; }
adds a cylinder . you can make cones by either setting basescale or topscale to zero . setting both to zero will set the basescale to 1f . setting the basedirection to either mr_left , mr_bottom or mr_back will result in the top being placed at the ( x , y , z ) .
