diff options
Diffstat (limited to 'src/vector.hpp')
-rw-r--r-- | src/vector.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vector.hpp b/src/vector.hpp index 76eb883..05de25c 100644 --- a/src/vector.hpp +++ b/src/vector.hpp @@ -15,8 +15,10 @@ class Vec3d { Vec3d cross(const Vec3d &vec) const; // Operators + Vec3d operator+(const Vec3d &vec) const; Vec3d operator-(const Vec3d &vec) const; Vec3d operator-() const; + Vec3d operator*(double) const; double m_x, m_y, m_z; }; |