home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
graphics
/
directx
/
pplane
/
pplane.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-07-14
|
1KB
|
42 lines
#ifndef PPLANE_H
#define PPLANE_H
/*
**-----------------------------------------------------------------------------
** File: PPlane.h
** Purpose: Sample showing DrawPrimitive functionality
**
** Copyright (c) 1995 - 1997 by Microsoft, all rights reserved
**-----------------------------------------------------------------------------
*/
/*
**-----------------------------------------------------------------------------
** Include files
**-----------------------------------------------------------------------------
*/
#include "Common.h"
/*
**-----------------------------------------------------------------------------
** Type definitions
**-----------------------------------------------------------------------------
*/
typedef struct t_plane {
D3DVECTOR loc, // current location
goal, // current goal
delta; // current direction
float yaw, pitch, roll;
float dyaw;
} Plane;
/*
**-----------------------------------------------------------------------------
** End of File
**-----------------------------------------------------------------------------
*/
#endif // PPLANE_H