| Line | |
|---|
| 1 | /* $Id: stereo.h,v 1.1 2000-02-29 00:48:38 sandervl Exp $ */
|
|---|
| 2 | /* File name stereov.h
|
|---|
| 3 | header file for stereo display driver
|
|---|
| 4 | ***************************************************************
|
|---|
| 5 | * WMesa *
|
|---|
| 6 | * version 2.3 *
|
|---|
| 7 | * *
|
|---|
| 8 | * By *
|
|---|
| 9 | * Li Wei *
|
|---|
| 10 | * Institute of Artificial Intelligence & Robotics *
|
|---|
| 11 | * Xi'an Jiaotong University *
|
|---|
| 12 | * Email: liwei@aiar.xjtu.edu.cn *
|
|---|
| 13 | * Web page: http://sun.aiar.xjtu.edu.cn *
|
|---|
| 14 | * *
|
|---|
| 15 | * July 7th, 1997 *
|
|---|
| 16 | ***************************************************************
|
|---|
| 17 |
|
|---|
| 18 | */
|
|---|
| 19 | #if defined( __WIN32__) || defined (WIN32)
|
|---|
| 20 | #include <windows.h>
|
|---|
| 21 | #endif
|
|---|
| 22 |
|
|---|
| 23 | #if defined(__WIN32OS2__)
|
|---|
| 24 | #include <os2win.h>
|
|---|
| 25 | #endif
|
|---|
| 26 |
|
|---|
| 27 | typedef enum VIEW_INDICATOR { FIRST, SECOND};
|
|---|
| 28 |
|
|---|
| 29 | #define MAXIMUM_DISPLAY_LIST 99
|
|---|
| 30 |
|
|---|
| 31 | extern GLenum stereoBuffer;
|
|---|
| 32 |
|
|---|
| 33 | extern GLint displayList;
|
|---|
| 34 |
|
|---|
| 35 | extern GLint stereo_flag ;
|
|---|
| 36 |
|
|---|
| 37 | extern GLfloat viewDistance;
|
|---|
| 38 |
|
|---|
| 39 | extern GLuint viewTag;
|
|---|
| 40 |
|
|---|
| 41 | extern GLuint displayListBase;
|
|---|
| 42 |
|
|---|
| 43 | extern GLuint numOfLists;
|
|---|
| 44 |
|
|---|
| 45 | extern GLenum stereoCompile;
|
|---|
| 46 |
|
|---|
| 47 | extern GLenum stereoShowing;
|
|---|
| 48 |
|
|---|
| 49 | extern void glShowStereo(GLuint list);
|
|---|
| 50 |
|
|---|
| 51 | extern void toggleStereoMode();
|
|---|
| 52 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.