mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-11-22 11:00:17 +00:00
feat: init
This commit is contained in:
commit
25809b8455
18807 files changed
+3944357
No files matched your search
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#include "Position.h"
|
||||
|
||||
class PositionImpl : public Position
|
||||
{
|
||||
protected:
|
||||
double x;
|
||||
double y;
|
||||
double z;
|
||||
|
||||
public:
|
||||
PositionImpl(double x, double y, double z)
|
||||
{
|
||||
this->x = x;
|
||||
this->y = y;
|
||||
this->z = z;
|
||||
}
|
||||
|
||||
double getX()
|
||||
{
|
||||
return x;
|
||||
}
|
||||
|
||||
double getY()
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
||||
double getZ()
|
||||
{
|
||||
return z;
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user