大球与小球

public CP_Na_Cl(float scale,int mProgram) {
		// TODO Auto-generated constructor stub
		drawBallColorBig=new DrawBallColor(bigR*scale, mProgram);
		drawBallColorSmall=new DrawBallColor(smallR*scale, mProgram);
		drawCylinderSideColor=new DrawCylinderSideColor(cylinderR*scale, cylinderH*scale*2, mProgram);
		offset=cylinderH*scale/2;
	}


大球与小球的半径:

private float bigR=0.3f;

private float smallR=0.2f;
posted @ 2015-06-11 13:31  Anzhongliu  阅读(231)  评论(0)    收藏  举报