Java Reference
In-Depth Information
Point3f osci_bottomposi[] = new Point3f[4];
osci_bottomposi[0] = new Point3f(-0.46f*osci_width, -0.5f*osci_height-0.014f,
0.46f*osci_length);
osci_bottomposi[1] = new Point3f( 0.46f*osci_width, -0.5f*osci_height-0.014f,
0.46f*osci_length);
osci_bottomposi[2] = new Point3f(-0.46f*osci_width, -0.5f*osci_height-0.014f,-
0.46f*osci_length);
osci_bottomposi[3] = new Point3f( 0.46f*osci_width, -0.5f*osci_height-0.014f,
-0.46f*osci_length);
Label2D osci_label[] = new Label2D[30];
///////////////////////////////////////// for the signal generator
float sg_length = 0.6f;
float sg_width = 0.35f;
float sg_height = 0.15f;
Point3f sgposi = new Point3f(0.27f, 1.08f, -4.28f);
Knob3D sg_knob[] = new Knob3D[2];
Point3f sg_knobposi[] = new Point3f[2];
float sg_knobangle[] = new float[2];
sg_knobposi[0] = new Point3f(0.35f*sg_width, 0.25f*sg_height, 0.5f*sg_length+0.01f);
sg_knobangle[0] = 60.0f*ANGLEPAI;
Shape3D sg_button[] = new Button3D[6];
Point3f sg_buttonposi[] = new Point3f[6];
sg_buttonposi[0] = new Point3f( 0.40f*sg_width, -0.38f*sg_height, 0.5f*sg_length+0.005f);
sg_buttonposi[1] = new Point3f( 0.30f*sg_width, -0.05f*sg_height, 0.5f*sg_length+0.005f);
sg_buttonposi[2] = new Point3f( 0.40f*sg_width, -0.05f*sg_height, 0.5f*sg_length+0.005f);
sg_buttonposi[3] = new Point3f(-0.36f*sg_width, -0.30f*sg_height, 0.5f*sg_length+0.005f);
sg_buttonposi[4] = new Point3f(-0.18f*sg_width, -0.30f*sg_height, 0.5f*sg_length+0.005f);
sg_buttonposi[5] = new Point3f( 0.00f*sg_width, -0.30f*sg_height, 0.5f*sg_length+0.005f);
Point3f sg_connposi[] = new Point3f[2];
float sg_connangle[] = new float[2];
sg_connposi[0] = new Point3f( 0.180f*sg_width, -0.480f*sg_height,
0.5f*sg_length+0.000f);
sg_connposi[1] = new Point3f( 0.220f*sg_width-0.003f, -0.480f*sg_height-0.008f,
0.5f*sg_length+0.000f);
sg_connangle[0] = 160.0f*ANGLEPAI;
sg_connangle[1] = 88.0f*ANGLEPAI;
Panel3D sg_panel[] = new Panel3D[4];
Point3f sg_panelposi[] = new Point3f[4];
sg_panelposi[0] = new Point3f(0.0f, -0.5f*sg_height-0.003f, 0.5f*sg_length);
sg_panelposi[1] = new Point3f(0.0f, 0.5f*sg_height+0.003f, 0.5f*sg_length);
sg_panelposi[2] = new Point3f( 0.5f*sg_width+0.003f, 0.0f, 0.5f*sg_length);
sg_panelposi[3] = new Point3f(-0.5f*sg_width-0.003f, 0.0f, 0.5f*sg_length);
Search WWH ::




Custom Search