Cockpit graphics
I added very basic vector graphics, allowing the creation of colored polygons like the default frame. Currently, the default panels and buttons cannot be moved.
The default frame is created as follows:
<FRONT>
<QUADS>
Color .5, .5, .5
Vertex -.83, 1
Vertex -.83, .555
Color 0, 0, 0
Vertex -.67, .555
Vertex -.67, 1
Vertex -1, -1
Vertex -.67, .555
Color .5, .5, .5
Vertex -.83, .555
Vertex -1.15, -1
Vertex 1.15, -1
Vertex .83, .567
Color 0, 0, 0
Vertex .67, .567
Vertex 1, -1
Vertex .67, 1
Vertex .67, .567
Color .5, .5, .5
Vertex .83, .567
Vertex .83, 1
</QUADS>
</FRONT>
<REARSAME>
If you want the front and rear frames to be different, instead of the <REARFRAME> tag, uses <REAR></REAR> tags.
In addition to the <QUAD> tag, supported tags are:
The default frame is created as follows:
<FRONT>
<QUADS>
Color .5, .5, .5
Vertex -.83, 1
Vertex -.83, .555
Color 0, 0, 0
Vertex -.67, .555
Vertex -.67, 1
Vertex -1, -1
Vertex -.67, .555
Color .5, .5, .5
Vertex -.83, .555
Vertex -1.15, -1
Vertex 1.15, -1
Vertex .83, .567
Color 0, 0, 0
Vertex .67, .567
Vertex 1, -1
Vertex .67, 1
Vertex .67, .567
Color .5, .5, .5
Vertex .83, .567
Vertex .83, 1
</QUADS>
</FRONT>
<REARSAME>
If you want the front and rear frames to be different, instead of the <REARFRAME> tag, uses <REAR></REAR> tags.
In addition to the <QUAD> tag, supported tags are:
- <POINTS>
- <LINES>
- <LINESTRIP>
- <LINELOOP>
- <TRIANGLES>
- <TRIANGLESTRIP>
- <TRIANGLEFAN>
- <QUADSTRIP>
- <POLYGON>
Differentiation is an integral part of calculus.