| 1 |
This directory contains ported examples in "OpenGL Programming Guide". |
| 2 |
|
| 3 |
To run examples without installing Gauche-gl, invoke gosh with |
| 4 |
"-I../../src -I../../lib", e.g. |
| 5 |
|
| 6 |
gosh -I../../src -I../../lib ./example1-2.scm |
| 7 |
|
| 8 |
Typing ESC in the window terminates the example. |
| 9 |
|
| 10 |
A Scheme script 'run' is provided to go through all the examples. |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
The following is the original copyright notice in the example code. |
| 15 |
|
| 16 |
/* |
| 17 |
* Copyright (c) 1993-1999, Silicon Graphics, Inc. |
| 18 |
* ALL RIGHTS RESERVED |
| 19 |
* Permission to use, copy, modify, and distribute this software for |
| 20 |
* any purpose and without fee is hereby granted, provided that the above |
| 21 |
* copyright notice appear in all copies and that both the copyright notice |
| 22 |
* and this permission notice appear in supporting documentation, and that |
| 23 |
* the name of Silicon Graphics, Inc. not be used in advertising |
| 24 |
* or publicity pertaining to distribution of the software without specific, |
| 25 |
* written prior permission. |
| 26 |
* |
| 27 |
* THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS" |
| 28 |
* AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE, |
| 29 |
* INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR |
| 30 |
* FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON |
| 31 |
* GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT, |
| 32 |
* SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY |
| 33 |
* KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION, |
| 34 |
* LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF |
| 35 |
* THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN |
| 36 |
* ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON |
| 37 |
* ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE |
| 38 |
* POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE. |
| 39 |
* |
| 40 |
* US Government Users Restricted Rights |
| 41 |
* Use, duplication, or disclosure by the Government is subject to |
| 42 |
* restrictions set forth in FAR 52.227.19(c)(2) or subparagraph |
| 43 |
* (c)(1)(ii) of the Rights in Technical Data and Computer Software |
| 44 |
* clause at DFARS 252.227-7013 and/or in similar or successor |
| 45 |
* clauses in the FAR or the DOD or NASA FAR Supplement. |
| 46 |
* Unpublished-- rights reserved under the copyright laws of the |
| 47 |
* United States. Contractor/manufacturer is Silicon Graphics, |
| 48 |
* Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311. |
| 49 |
* |
| 50 |
* OpenGL(R) is a registered trademark of Silicon Graphics, Inc. |
| 51 |
*/ |