45 glTranslated(
dA,0.0,
dD);
47 glRotated(
dAlpha,1.0,0.0,0.0);
51 glColor4f(0.2,0.2,0.2,1.0);
53 glNormal3d(0.0,0.0,1.0);
54 glVertex3d(-63.0,-12.0,16.0);
55 glNormal3d(0.0,0.0,1.0);
56 glVertex3d(15.0,-30.0,16.0);
57 glNormal3d(0.0,0.0,1.0);
58 glVertex3d(15.0,30.0,16.0);
59 glNormal3d(0.0,0.0,1.0);
60 glVertex3d(-63.0,12.0,16.0);
61 glNormal3d(0.0,0.0,-1.0);
62 glVertex3d(-63.0,-12.0,6.0);
63 glNormal3d(0.0,0.0,-1.0);
64 glVertex3d(15.0,-30.0,6.0);
65 glNormal3d(0.0,0.0,-1.0);
66 glVertex3d(15.0,30.0,6.0);
67 glNormal3d(0.0,0.0,-1.0);
68 glVertex3d(-63.0,12.0,6.0);
70 glNormal3d(0.0,-1.0,0.0);
71 glVertex3d(-63.0,-12.0,16.0);
72 glNormal3d(0.0,-1.0,0.0);
73 glVertex3d(-63.0,-12.0,6.0);
74 glNormal3d(0.0,-1.0,0.0);
75 glVertex3d(15.0,-30.0,6.0);
76 glNormal3d(0.0,-1.0,0.0);
77 glVertex3d(15.0,-30.0,16.0);
79 glNormal3d(0.0,1.0,0.0);
80 glVertex3d(15.0,30.0,16.0);
81 glNormal3d(0.0,1.0,0.0);
82 glVertex3d(15.0,30.0,6.0);
83 glNormal3d(0.0,1.0,0.0);
84 glVertex3d(-63.0,12.0,6.0);
85 glNormal3d(0.0,1.0,0.0);
86 glVertex3d(-63.0,12.0,16.0);
89 glColor4f(0.5,0.5,0.5,1.0);
93 glTranslated(-30.0,-7.5,5.0);
95 glRotated(-90.0,0.0,0.0,1.0);
97 glRotated(110.0+encoders[
nEnc+2],0.0,1.0,0.0);
100 glRotated(-encoders[
nEnc+3],1.0,0.0,0.0);
103 glRotated(-encoders[
nEnc+4],1.0,0.0,0.0);
106 glRotated(-encoders[
nEnc+4],1.0,0.0,0.0);
112 glTranslated(15.0,-7.5,11.0);
113 glRotated(-10.0+0.1666*encoders[
nEnc+1],0.0,0.0,1.0);
114 glRotated(90.0+encoders[
nEnc+7],0.0,1.0,0.0);
117 glRotated(encoders[
nEnc+8],0.0,1.0,0.0);
120 glRotated(encoders[
nEnc+8],0.0,1.0,0.0);
126 glTranslated(15.0,-22.5,11.0);
127 glRotated(-30.0+0.5*encoders[
nEnc+1],0.0,0.0,1.0);
128 glRotated(90.0+encoders[
nEnc+5],0.0,1.0,0.0);
131 glRotated(encoders[
nEnc+6],0.0,1.0,0.0);
134 glRotated(encoders[
nEnc+6],0.0,1.0,0.0);
140 glTranslated(15.0,7.5,11.0);
141 glRotated(10.0-0.1666*encoders[
nEnc+1],0.0,0.0,1.0);
142 glRotated(90.0+encoders[
nEnc+9],0.0,1.0,0.0);
145 glRotated(encoders[
nEnc+9],0.0,1.0,0.0);
148 glRotated(encoders[
nEnc+9],0.0,1.0,0.0);
154 glTranslated(15.0,22.5,11.0);
155 glRotated(30.0-0.5*encoders[
nEnc+1],0.0,0.0,1.0);
156 glRotated(90.0+encoders[
nEnc+9],0.0,1.0,0.0);
159 glRotated(encoders[
nEnc+9],0.0,1.0,0.0);
162 glRotated(encoders[
nEnc+9],0.0,1.0,0.0);
168 glColor4f(0.9,0.8,0.7,1.0);