Java Reference
In-Depth Information
Panel3D sg_bottom[] = new Panel3D[4];
Point3f sg_bottomposi[] = new Point3f[4];
sg_bottomposi[0] = new Point3f(-0.46f*sg_width, -0.5f*sg_height-0.014f, 0.46f*sg_length);
sg_bottomposi[1] = new Point3f( 0.46f*sg_width, -0.5f*sg_height-0.014f, 0.46f*sg_length);
sg_bottomposi[2] = new Point3f(-0.46f*sg_width, -0.5f*sg_height-0.014f,-0.46f*sg_length);
sg_bottomposi[3] = new Point3f( 0.46f*sg_width, -0.5f*sg_height-0.014f,-0.46f*sg_length);
Label2D sg_label[] = new Label2D[5];
/////////////////////////////////////////// for the circuit board
Point3f cc_connposi[] = new Point3f[2];
float cc_connangle[] = new float[2];
cc_connposi[0] = new Point3f(1.0f*sg_width+0.026f, -0.135f*sg_height-0.06f,
0.5f*sg_length+0.004f);
cc_connposi[1] = new Point3f(1.17f*sg_width+0.0128f, -0.13f*sg_height-0.06f,
0.5f*sg_length-0.005f);
cc_connangle[0] = 90.0f*ANGLEPAI;
cc_connangle[1] = 95.0f*ANGLEPAI;
/////////////////////////////////////////// for the virtual house
float pass_length = 0.05f;
float pass_width = 0.3f;
float pass_height = 0.12f;
Point3f passposi = new Point3f(-0.22f, 1.75f, 0.12f);
Point3f frontleftwallposi = new Point3f(0.0f, 0.0f, 2.0f);
Shape3D pass_button[] = new Button3D[12];
Point3f pass_buttonposi[] = new Point3f[12];
pass_buttonposi[1 ] = new Point3f(-0.25f*pass_width, 0.10f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[2 ] = new Point3f( 0.00f*pass_width, 0.10f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[3 ] = new Point3f( 0.25f*pass_width, 0.10f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[4 ] = new Point3f(-0.25f*pass_width, -0.05f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[5 ] = new Point3f( 0.00f*pass_width, -0.05f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[6 ] = new Point3f( 0.25f*pass_width, -0.05f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[7 ] = new Point3f(-0.25f*pass_width, -0.20f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[8 ] = new Point3f( 0.00f*pass_width, -0.20f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[9 ] = new Point3f( 0.25f*pass_width, -0.20f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[10] = new Point3f(-0.25f*pass_width, -0.0f*pass_height,
0.5f*pass_length+0.005f);
pass_buttonposi[0 ] = new Point3f( 0.00f*pass_width, -0.35f*pass_height,
0.5f*pass_length+0.005f);
Search WWH ::




Custom Search