diff --git a/sources/Models/Vector3.cpp b/sources/Models/Vector3.cpp deleted file mode 100644 index d46f5ca9..00000000 --- a/sources/Models/Vector3.cpp +++ /dev/null @@ -1,13 +0,0 @@ -// -// Created by cbihan on 26/05/2021. -// - -#include "Vector3.hpp" - -namespace BBM -{ - RAY::Vector3 operator*(const Vector3f &v) - { - return {v.x, v.y, v.z}; - } -} \ No newline at end of file diff --git a/sources/Models/Vector3.hpp b/sources/Models/Vector3.hpp index c35891f8..93327c70 100644 --- a/sources/Models/Vector3.hpp +++ b/sources/Models/Vector3.hpp @@ -154,7 +154,7 @@ namespace BBM return (point * this) / std::pow(this->magnitude(), 2) * this; } - explicit operator RAY::Vector3() const { return {this->x, this->y, this->z };} + explicit operator RAY::Vector3() const { return {this->x, this->y, this->z};} }; typedef Vector3 Vector3f;