summaryrefslogtreecommitdiffstats
path: root/Vertex.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-02-08 22:21:01 +0100
committerneoraider <devnull@localhost>2008-02-08 22:21:01 +0100
commitacb1721e94a49a4941bb11dfc2f832c3848aa204 (patch)
tree6398053a11b46242974ae171d700418bd42c92b8 /Vertex.h
parenta39525ca36e2c002332f914907f74061533c2b04 (diff)
downloadzoomedit-acb1721e94a49a4941bb11dfc2f832c3848aa204.tar
zoomedit-acb1721e94a49a4941bb11dfc2f832c3848aa204.zip
zoomedit: Implemented Rotate tool; added simple gates.
Diffstat (limited to 'Vertex.h')
-rw-r--r--Vertex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Vertex.h b/Vertex.h
index c367bb2..5f0db76 100644
--- a/Vertex.h
+++ b/Vertex.h
@@ -22,9 +22,14 @@ class Vertex {
Vertex operator+(const Vertex &v) const;
Vertex operator-(const Vertex &v) const;
+ Vertex operator*(float f) const;
+ Vertex operator/(float f) const;
Vertex& operator+=(const Vertex &v);
Vertex& operator-=(const Vertex &v);
+ Vertex& operator*=(float f);
+ Vertex& operator/=(float f);
+
};
#endif /*VERTEX_H_*/