diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Vector3.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Vector3.h b/src/Vector3.h index 1f3f6b955..36f277ba4 100644 --- a/src/Vector3.h +++ b/src/Vector3.h @@ -244,6 +244,15 @@ public: ); } + inline Vector3<T> operator / (const Vector3<T> & a_Rhs) + { + return Vector3<T>( + x / a_Rhs.x, + y / a_Rhs.y, + z / a_Rhs.z + ); + } + inline Vector3<T> operator * (T a_v) const { return Vector3<T>( |