38 lines
330 B
C
38 lines
330 B
C
#ifndef DATA
|
|||
|
|
#define DATA
|
||
|
|
|
||
|
|
#include <D3DX9.h>
|
||
|
|
|
||
|
|
struct Data
|
||
|
|
{
|
||
|
|
float X;
|
||
|
|
float Y;
|
||
|
|
float Z;
|
||
|
|
|
||
|
|
float l3;
|
||
|
|
float s;
|
||
|
|
|
||
|
|
int O1;
|
||
|
|
int O2;
|
||
|
|
int O3;
|
||
|
|
|
||
|
|
float X2;
|
||
|
|
float Y2;
|
||
|
|
float Z2;
|
||
|
|
|
||
|
|
void Input( float x, float y, float z )
|
||
|
|
{
|
||
|
|
X = x;
|
||
|
|
Y = y;
|
||
|
|
Z = z;
|
||
|
|
}
|
||
|
|
|
||
|
|
void Input( D3DXVECTOR3 i )
|
||
|
|
{
|
||
|
|
X = i.x;
|
||
|
|
Y = i.y;
|
||
|
|
Z = i.z;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|