Skip to content

Conversation

WestLangley
Copy link
Collaborator

Fixes #8496.

@bhouston
Copy link
Contributor

bhouston commented Apr 1, 2016

I've wanted this for ever. Although I would also deprecate Matrix4.multiply and replace it with postMultiply. I'd do the same for Matrix3. :)

@bhouston
Copy link
Contributor

bhouston commented Apr 1, 2016

Well, I'm fine with this PR as it. :)

@mrdoob
Copy link
Owner

mrdoob commented Apr 1, 2016

Hmmm, how about making it lower-case?

vector.add();
vector.subtract();
matrix.multiply();
matrix.premultiply();
matrix.transpose();
...

More consistant API...

@WestLangley WestLangley changed the title Matrix4: added preMultiply method Matrix4: added premultiply() method Apr 1, 2016
@WestLangley
Copy link
Collaborator Author

Hmmm, how about making it lower-case?

Oh yes. Much better.

@mrdoob
Copy link
Owner

mrdoob commented Apr 1, 2016

Yay!

@mrdoob mrdoob merged commit 7514780 into mrdoob:dev Apr 1, 2016
@mrdoob
Copy link
Owner

mrdoob commented Apr 1, 2016

Thanks!

@WestLangley WestLangley deleted the dev-matrix branch April 1, 2016 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants