Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

73 lines
1.0 KiB

/******************************Module*Header*******************************\
* Module Name: scene.h
*
* Structures used to describe a scene.
*
* Created: 09-Mar-1995 14:51:33
* Author: Gilman Wong [gilmanw]
*
* Copyright (c) 1995 Microsoft Corporation
*
\**************************************************************************/
#ifndef _SCENE_H_
#define _SCENE_H_
typedef struct tagMyXYZ
{
GLfloat x;
GLfloat y;
GLfloat z;
} MyXYZ;
typedef struct tagMyRGBA
{
GLfloat r;
GLfloat g;
GLfloat b;
GLfloat a;
} MyRGBA;
typedef struct tagMultList
{
GLuint count;
GLuint listBase;
} MultiList;
typedef struct tagSCENE
{
// Viewing parameters.
MyXYZ xyzFrom;
MyXYZ xyzAt;
MyXYZ xyzUp;
float ViewAngle;
float Hither;
float Yon;
float AspectRatio;
SIZE szWindow;
// Clear color.
MyRGBA rgbaClear;
// Lights.
MultiList Lights;
// Objects.
MultiList Objects;
// State
// For use by format parser.
VOID *pvData;
} SCENE;
#endif