1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
Ben Kuper 2024-10-30 18:42:33 +01:00
parent 9bc7227784
commit d06029f32d

View file

@ -58,7 +58,7 @@ public:
static Vector3D zAxis() noexcept { return { 0, 0, (Type) 1 }; } static Vector3D zAxis() noexcept { return { 0, 0, (Type) 1 }; }
Vector3D& operator+= (Type value) noexcept { x += value; y += value; z += value; return *this; } Vector3D& operator+= (Type value) noexcept { x += value; y += value; z += value; return *this; }
Vector3D& operator-= (Type value) noexcept { x -= value; y -= value; z -= scaleFactor; return *this; } Vector3D& operator-= (Type value) noexcept { x -= value; y -= value; z -= value; return *this; }
Vector3D& operator*= (Type scaleFactor) noexcept { x *= scaleFactor; y *= scaleFactor; z *= scaleFactor; return *this; } Vector3D& operator*= (Type scaleFactor) noexcept { x *= scaleFactor; y *= scaleFactor; z *= scaleFactor; return *this; }
Vector3D& operator/= (Type scaleFactor) noexcept { x /= scaleFactor; y /= scaleFactor; z /= scaleFactor; return *this; } Vector3D& operator/= (Type scaleFactor) noexcept { x /= scaleFactor; y /= scaleFactor; z /= scaleFactor; return *this; }
Vector3D& operator+= (Vector3D other) noexcept { x += other.x; y += other.y; z += other.z; return *this; } Vector3D& operator+= (Vector3D other) noexcept { x += other.x; y += other.y; z += other.z; return *this; }