public static BasicModel CreateCylinder(Device device, float bottomRadius, float topRadius, float height, int sliceCount, int stackCount) { var model = new BasicModel(); model.CreateCylinderInternal(device, bottomRadius, topRadius, height, sliceCount, stackCount); return(model); }