/**
 * Two-corner mapping for each edge, corner indices are encoded into first 6 bits, 3 bits per corner
 * @type {number[]}
 */
export const aabb3_edge_corner_mapping = [];

//near plane
//                               AAABBB
aabb3_edge_corner_mapping[0] = 0b000001;
aabb3_edge_corner_mapping[1] = 0b000010;
aabb3_edge_corner_mapping[2] = 0b010011;
aabb3_edge_corner_mapping[3] = 0b001011;

//                               AAABBB
aabb3_edge_corner_mapping[4] = 0b000100;
aabb3_edge_corner_mapping[5] = 0b001101;
aabb3_edge_corner_mapping[6] = 0b010110;
aabb3_edge_corner_mapping[7] = 0b011111;

//far plane
//                               AAABBB
aabb3_edge_corner_mapping[8] = 0b100101;
aabb3_edge_corner_mapping[9] = 0b100110;
aabb3_edge_corner_mapping[10] = 0b110111;
aabb3_edge_corner_mapping[11] = 0b101111;
