#ifndef DATA #define DATA #include 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