JOML-CI / JOML

A Java math library for OpenGL rendering calculations
MIT License
728 stars 104 forks source link

Matrix2f.mulComponentWise(Matrix2f) incorrectly calls Matrix2f.sub(Matrix2f, Matrix2f) #310

Closed TheIceCreamBear closed 2 years ago

TheIceCreamBear commented 2 years ago

The title pretty much says all there is about this issue. Line 1415 of src/org/joml/Matrix2f.java incorrectly calls return sub(other, this) instead of the method appropriate return mulComponentWise(other, this)

Link for reference: Matrix2f#L1415

httpdigest commented 2 years ago

Thanks for reporting!