summaryrefslogtreecommitdiff
path: root/src/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vector.h b/src/vector.h
index c607484fd..6c06d90d9 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -50,7 +50,9 @@ class Vector final
/**
* Constructor.
*/
- Vector(const float x0, const float y0, const float z0 = 0.0F) :
+ Vector(const float x0,
+ const float y0,
+ const float z0 = 0.0F) :
x(x0),
y(y0),
z(z0)
@@ -65,6 +67,8 @@ class Vector final
z(v.z)
{}
+ A_DEFAULT_COPY(Vector)
+
/**
* Returns true if all coordinates are set to 0, otherwise returns
* false.