107108109110111112113114115116117
for (int i = 0; i < numEdges; i++) { for (int j = 0; j < c.numEdges; j++) { Vector3 cross = Vector3.cross(edges[i], cedges[j]); if (cross.mag2() != 0.0f) { axes[pos++] = cross.normalize(); } else { axes[pos++] = null; } } }