summaryrefslogtreecommitdiffstats
path: root/Vertex.h
diff options
context:
space:
mode:
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_*/