triangleTable2
protected static final byte[][] triangleTable2
The new triangle table developed specifically for Jmol.
The fourth number in each ABC set is three bits, b3b2b1, where
b1 = 1 for AB, b2 = 1 for BC, b3 = 1 for CA, and
mark lines to be drawn for mesh
So, for example:
1, 8, 3, 6
6 is 110 in binary, so b3 = 1, b2 = 1, b1 = 0;
b1 refers to the 18 edge, b2 refers to the 83 edge,
and b3 refers to the 31 edge. The 31 and 83, but not 18 edges
should be drawn for a mesh. On the cube above, you can see
that the 18 edges is in the interior of the cube. That's why we
don't render it with a mesh.
Bob Hanson, 3/29/2007