Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
benkuper committed Oct 28, 2024
1 parent 3e0bb82 commit 249c039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/juce_opengl/geometry/juce_Vector3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace juce
/*Multiply and divide in method to avoid using * and / operators (* is used for dot product) */
void multiply(Vector3D other) const noexcept { x *= other.x; y *= other.y, z *= other.z; }
Vector3D multiplied(Vector3D other) const noexcept { return { x * other.x, y * other.y, z * other.z }; }
void divide(Vector3D other) const noexcept { x /= other.x; y /= other.y; z /= other.z };
void divide(Vector3D other) const noexcept { x /= other.x; y /= other.y; z /= other.z; };
Vector3D divided(Vector3D other) const noexcept { return { x / other.x, y / other.y, z / other.z }; }

/** Returns the dot-product of these two vectors. */
Expand Down

0 comments on commit 249c039

Please sign in to comment.