mirror of https://github.com/tongzx/nt5src
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.
41 lines
1.1 KiB
41 lines
1.1 KiB
#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
|
|
|