home *** CD-ROM | disk | FTP | other *** search
- /*
- * Copyright 1992, 1993, 1994, Silicon Graphics, Inc.
- * All Rights Reserved.
- *
- * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
- * the contents of this file may not be disclosed to third parties, copied or
- * duplicated in any form, in whole or in part, without the prior written
- * permission of Silicon Graphics, Inc.
- *
- * RESTRICTED RIGHTS LEGEND:
- * Use, duplication or disclosure by the Government is subject to restrictions
- * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
- * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
- * successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
- * rights reserved under the Copyright Laws of the United States.
- */
- #include <gl.h>
-
- float d_data[][2] = {
- {4.714579, 9.987679},
- {2.841889, 9.429158},
- {2.825462, 9.166325},
- {1.856263, 8.722793},
- {2.004107, 8.000000},
- {0.969199, 7.605750},
- {1.494866, 6.636550},
- {0.607803, 6.028748},
- {1.527721, 4.960986},
- {0.772074, 4.254620},
- {1.774127, 4.139630},
- {1.445585, 3.186858},
- {2.266940, 3.843942},
- {2.250513, 3.022587},
- {2.776181, 3.843942},
- {3.137577, 3.383984},
- {3.351129, 4.008214},
- {3.909651, 4.451746},
- {4.090349, 4.960986},
- {4.862423, 5.946612},
- {4.763860, 6.652977},
- {5.388090, 7.572895},
- {4.862423, 8.492813},
- {5.618070, 9.921971},
- {4.698152, 10.940452},
- {5.338809, 12.303902},
- {4.238193, 12.960985},
- {4.451746, 14.554415},
- {3.581109, 14.291581},
- {3.613963, 15.342916},
- {2.677618, 15.145790},
- {2.480493, 15.540041},
- {2.036961, 15.211499},
- {1.281314, 15.112936},
-
- };
-
- void draw_d() {
-
- bgntmesh();
- v2f(d_data[0]);
- v2f(d_data[1]);
- v2f(d_data[2]);
- v2f(d_data[3]);
- v2f(d_data[4]);
- v2f(d_data[5]);
- v2f(d_data[6]);
- v2f(d_data[7]);
- v2f(d_data[8]);
- v2f(d_data[9]);
- v2f(d_data[10]);
- v2f(d_data[11]);
- v2f(d_data[12]);
- v2f(d_data[13]);
- v2f(d_data[14]);
- v2f(d_data[15]);
- v2f(d_data[16]);
- v2f(d_data[17]);
- v2f(d_data[18]);
- v2f(d_data[19]);
- v2f(d_data[20]);
- v2f(d_data[21]);
- v2f(d_data[22]);
- v2f(d_data[23]);
- v2f(d_data[24]);
- v2f(d_data[25]);
- v2f(d_data[26]);
- v2f(d_data[27]);
- v2f(d_data[28]);
- v2f(d_data[29]);
- v2f(d_data[30]);
- v2f(d_data[31]);
- v2f(d_data[32]);
- v2f(d_data[33]);
- endtmesh();
-
- bgnline();
- v2f(d_data[0]);
- v2f(d_data[2]);
- v2f(d_data[4]);
- v2f(d_data[6]);
- v2f(d_data[8]);
- v2f(d_data[10]);
- v2f(d_data[12]);
- v2f(d_data[14]);
- v2f(d_data[16]);
- v2f(d_data[18]);
- v2f(d_data[20]);
- v2f(d_data[22]);
- v2f(d_data[24]);
- v2f(d_data[26]);
- v2f(d_data[28]);
- v2f(d_data[30]);
- v2f(d_data[32]);
- v2f(d_data[33]);
- v2f(d_data[31]);
- v2f(d_data[29]);
- v2f(d_data[27]);
- v2f(d_data[25]);
- v2f(d_data[23]);
- v2f(d_data[21]);
- v2f(d_data[19]);
- v2f(d_data[17]);
- v2f(d_data[15]);
- v2f(d_data[13]);
- v2f(d_data[11]);
- v2f(d_data[9]);
- v2f(d_data[7]);
- v2f(d_data[5]);
- v2f(d_data[3]);
- v2f(d_data[1]);
- endline();
-
- }
-
-