/// <summary> /// Adds a face to the vertex's face list if the face index is in range. (Some /// shapes, such as the Cobra Mk III, use $ff for their vertex face values even /// though fewer than 16 faces are defined.) /// </summary> private void AddVertexFace(VisWireframe vw, int vindex, int face, int faceCount) { if (face < faceCount) { vw.AddVertexFace(vindex, face); } }