JOML icon indicating copy to clipboard operation
JOML copied to clipboard

Vector4 mulAdd() doesn't do Math.fma() for the "w"

Open TimLee9024 opened this issue 11 months ago • 1 comments

https://github.com/JOML-CI/JOML/blob/d1fe5d235f09b61caf382ee16e7c1c9f5969f971/src/main/java/org/joml/Vector4f.java#L930 https://github.com/JOML-CI/JOML/blob/d1fe5d235f09b61caf382ee16e7c1c9f5969f971/src/main/java/org/joml/Vector4d.java#L1047 As title. Since it's been there for 4 years https://github.com/JOML-CI/JOML/commit/9b5becd28b68760aa1a01ccd6b85ad4e9d5f7539, I am not sure if this is intentional.

TimLee9024 avatar Apr 27 '25 09:04 TimLee9024

@TimLee9024 thank you for reporting! That indeed looks like a copy&paste bug that has been sitting there unnoticed for the last four years, as you pointed out. Will be fixed with the next 1.10.10 release.

httpdigest avatar Apr 28 '25 07:04 httpdigest