diff --git a/rpcs3/Emu/RSX/Overlays/overlay_utils.h b/rpcs3/Emu/RSX/Overlays/overlay_utils.h index e88129e1c9..2c828ba293 100644 --- a/rpcs3/Emu/RSX/Overlays/overlay_utils.h +++ b/rpcs3/Emu/RSX/Overlays/overlay_utils.h @@ -83,28 +83,28 @@ struct vector3_base : public position3_base { using position3_base::position3_base; - vector3_base(T x, T y, T z) + vector3_base(T x, T y, T z) { this->x = x; this->y = y; this->z = z; } - vector3_base(const position3_base& other) + vector3_base(const position3_base& other) { this->x = other.x; this->y = other.y; this->z = other.z; } - T dot(const vector3_base& rhs) const + T dot(const vector3_base& rhs) const { return (this->x * rhs.x) + (this->y * rhs.y) + (this->z * rhs.z); } - T distance(const vector3_base& rhs) const + T distance(const vector3_base& rhs) const { - const vector3_base d = *this - rhs; + const vector3_base d = *this - rhs; return d.dot(d); } };