mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
43 lines
553 B
C++
43 lines
553 B
C++
#ifndef VECTORDOUBLE_H
|
|
#define VECTORDOUBLE_H
|
|
|
|
|
|
class Vector2dDouble
|
|
{
|
|
public:
|
|
Vector2dDouble();
|
|
|
|
double getX() const;
|
|
void setX(double value);
|
|
|
|
double getY() const;
|
|
void setY(double value);
|
|
|
|
private:
|
|
double x;
|
|
double y;
|
|
};
|
|
|
|
|
|
class Vector3dDouble
|
|
{
|
|
public:
|
|
Vector3dDouble();
|
|
|
|
double getX() const;
|
|
void setX(double value);
|
|
|
|
double getY() const;
|
|
void setY(double value);
|
|
|
|
double getZ() const;
|
|
void setZ(double value);
|
|
|
|
private:
|
|
double x;
|
|
double y;
|
|
double z;
|
|
};
|
|
|
|
#endif // VECTORDOUBLE_H
|