diff options
author | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
---|---|---|
committer | neoraider <devnull@localhost> | 2008-04-06 15:29:03 +0200 |
commit | 356efaf89afdad141b313767e1a2b89de3c08d0a (patch) | |
tree | 37edb2a0fc0ea15f4f60e45ed411cbea7b4c12c5 /Vertex3d.h | |
parent | 258eb984bafe0f667d1e76de61c8afaa23f39ef4 (diff) | |
download | zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.tar zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.zip |
zoomedit: Recreated ZoomEdit based on Glademm.
Diffstat (limited to 'Vertex3d.h')
-rw-r--r-- | Vertex3d.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/Vertex3d.h b/Vertex3d.h deleted file mode 100644 index faad420..0000000 --- a/Vertex3d.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef VERTEX3D_H_ -#define VERTEX3D_H_ - -class Vertex3d { - private: - float x, y, z; - - public: - Vertex3d() {x = y = z = 0.0;} - Vertex3d(float x, float y, float z) {this->x = x; this->y = y; this->z = z;} - - float getX() const {return x;} - void setX(float x) {this->x = x;} - - float getY() const {return y;} - void setY(float y) {this->y = y;} - - float getZ() const {return z;} - void setZ(float z) {this->z = z;} - - void setLocation(float x, float y, float z) {this->x = x; this->y = y; this->z = z;} - - float distanceSq(const Vertex3d &v) const; - float distance(const Vertex3d &v) const; - - Vertex3d operator+(const Vertex3d &v) const; - Vertex3d operator-(const Vertex3d &v) const; - - Vertex3d& operator+=(const Vertex3d &v); - Vertex3d& operator-=(const Vertex3d &v); -}; - -#endif /*VERTEX3D_H_*/ |