Function in core
Sorry can you elaborate? I do not understand your question
1 Like
Oh sorry my mistake. why multiply and multiplyToRef is B X A, and multiplyInPlace and MultiplyByFloats is multiply per number.
That was a choice I made that seemed clever at that time:) There is no specific reason besides that:)
We should maybe mention it in the documentation though
1 Like
In fact, multiplyInPlace
and multiplyByFloats
for the Matrix
class are new in 7.0. It’s part of the math class rewrite, and these methods have been added to Matrix
for consistency with other classes.
I will update the doc to make it clear they do a component by component multiplication.
[EDIT] PR:
1 Like
Looking forward to publishing of Babylonjs 7.0!!!