diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-09-15 17:46:56 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:31 +0100 |
commit | dcd030c6ed41e080846d1d50cf82e1055ae48edd (patch) | |
tree | 791bf81717a40273fcd6f72b06d3eb24c0c94b1a /src/Vector.hpp | |
parent | 2017-09-03 (diff) | |
download | AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.gz AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.bz2 AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.lz AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.xz AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.tar.zst AltCraft-dcd030c6ed41e080846d1d50cf82e1055ae48edd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Vector.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Vector.hpp b/src/Vector.hpp index 6389bbb..c89154f 100644 --- a/src/Vector.hpp +++ b/src/Vector.hpp @@ -14,11 +14,6 @@ struct Vector3 { Vector3(const Vector3 &rhs) : x(rhs.x), y(rhs.y), z(rhs.z) {} - template<class U> - Vector3(const Vector3<U> &rhs) : x(rhs.x), y(rhs.y), z(rhs.z) {} - - Vector3(Vector3 &&rhs) = default; - ~Vector3() = default; double GetLength() const { return std::sqrt(std::pow(x, 2) + std::pow(y, 2) + std::pow(z, 2)); } |