diff options
Diffstat (limited to 'src/vector.h')
-rw-r--r-- | src/vector.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vector.h b/src/vector.h index 1f998b85e..9f3ca47c0 100644 --- a/src/vector.h +++ b/src/vector.h @@ -72,6 +72,13 @@ class Vector final return x == 0.0F && y == 0.0F && z == 0.0F; } + void operator=(const Vector &v) + { + x = v.x; + y = v.y; + z = v.z; + } + /** * Scale vector operator. */ |