12345678910111213141516171819202122 |
- #pragma once
- namespace HostServer{
- /*
- * ±£´æ¶¨Î»½á¹ûµÄµã×ø±ê
- */
- class Position
- {
- public:
- double x;
- double y;
- double z;
- Position():x(0), y(0), z(0){}
- Position(double x, double y, double z):x(x), y(y), z(z){}
- void operator = (const Position &p)
- {
- this->x = p.x;
- this->y = p.y;
- this->z = p.z;
- }
- };
- }
|