/***********************************************************************/ /* Open Visualization Data Explorer */ /* (C) Copyright IBM Corp. 1989,1999 */ /* ALL RIGHTS RESERVED */ /* This code licensed under the */ /* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */ /***********************************************************************/ #define BOXPTS 24 #define BOXTRS 12 static Point points[BOXPTS] = { -1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, -1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000, -1.0000000000, 1.0000000000, 1.0000000000, 1.0000000000 }; #include static Point normals[BOXPTS] = { -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, -1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 }; static Triangle triangles[] = { 0, 3, 2, 0, 1, 3, 4, 7, 5, 4, 6, 7, 8, 9, 11, 8, 11, 10, 12, 15, 13, 12, 14, 15, 16, 18, 17, 17, 18, 19, 21, 22, 20, 21, 23, 22 };