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 r_data[][2] = {
- {0.018462, 12.344969-3.0},
- {0.775385, 12.677618-3.0},
- {0.812308, 12.344969-3.0},
- {1.421538, 12.899384-3.0},
- {1.126154, 12.123203-3.0},
- {1.864615, 12.825462-3.0},
- {1.181538, 11.716633-3.0},
- {2.030769, 12.603696-3.0},
- {1.089231, 10.700206-3.0},
- {1.495385, 9.351130-3.0},
- {0.516923, 7.355236-3.0},
- {0.756923, 6.375770-3.0},
- {0.129231, 5.119096-3.0},
- {0.461538, 5.322382-3.0},
-
- {1.680000, 10.663244-3.0},
- {1.550769, 9.942505-3.0},
- {2.160000, 11.383984-3.0},
- {2.400000, 11.531828-3.0},
- {2.640000, 12.086243-3.0},
- {2.916923, 12.086243-3.0},
- {3.341538, 12.806981-3.0},
- {3.526154, 12.160164-3.0},
- {4.043077, 12.954825-3.0},
- {4.209231, 12.308008-3.0},
- {4.504615, 12.880903-3.0},
- {4.541538, 12.622176-3.0},
-
- };
-
- draw_r() {
-
- bgntmesh();
- v2f(r_data[0]);
- v2f(r_data[1]);
- v2f(r_data[2]);
- v2f(r_data[3]);
- v2f(r_data[4]);
- v2f(r_data[5]);
- v2f(r_data[6]);
- v2f(r_data[7]);
- v2f(r_data[8]);
- v2f(r_data[9]);
- v2f(r_data[10]);
- v2f(r_data[11]);
- v2f(r_data[12]);
- v2f(r_data[13]);
- endtmesh();
-
- bgntmesh();
- v2f(r_data[14]);
- v2f(r_data[15]);
- v2f(r_data[16]);
- v2f(r_data[17]);
- v2f(r_data[18]);
- v2f(r_data[19]);
- v2f(r_data[20]);
- v2f(r_data[21]);
- v2f(r_data[22]);
- v2f(r_data[23]);
- v2f(r_data[24]);
- v2f(r_data[25]);
- endtmesh();
-
- bgnline();
- v2f(r_data[0]);
- v2f(r_data[2]);
- v2f(r_data[4]);
- v2f(r_data[6]);
- v2f(r_data[8]);
- v2f(r_data[10]);
- v2f(r_data[12]);
- v2f(r_data[13]);
- v2f(r_data[11]);
- v2f(r_data[9]);
- v2f(r_data[7]);
- v2f(r_data[5]);
- v2f(r_data[3]);
- v2f(r_data[1]);
- v2f(r_data[0]);
- endline();
-
- bgnline();
- v2f(r_data[14]);
- v2f(r_data[16]);
- v2f(r_data[18]);
- v2f(r_data[20]);
- v2f(r_data[22]);
- v2f(r_data[24]);
- v2f(r_data[25]);
- v2f(r_data[23]);
- v2f(r_data[21]);
- v2f(r_data[19]);
- v2f(r_data[17]);
- v2f(r_data[15]);
- v2f(r_data[14]);
- endline();
-
- }
-
-