Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add offset to Matrix4.fromArray for consistency with all other fromArray functions #9611

Merged
merged 2 commits into from Sep 6, 2016
Merged

add offset to Matrix4.fromArray for consistency with all other fromArray functions #9611

merged 2 commits into from Sep 6, 2016

Conversation

Jozain
Copy link
Contributor

@Jozain Jozain commented Sep 1, 2016

We noticed here at Exocortex/Clara.io that the Matrix4 fromArray function didn't allow one to specify offsets. This is very useful functionality when Matrix4s are packed into an ArrayBuffer for things like transfering of bone data from a binary file format.

@WestLangley
Copy link
Collaborator

Nice! Do you mind updating the docs, too, when you get a chance?

@mrdoob mrdoob merged commit f583075 into mrdoob:dev Sep 6, 2016
@mrdoob
Copy link
Owner

mrdoob commented Sep 6, 2016

Thanks!

aardgoose pushed a commit to aardgoose/three.js that referenced this pull request Oct 7, 2016
…ray functions (mrdoob#9611)

* add offset to fromArray for consistency with all other fromArray functions in the ThreeJS math library.

* Added matrix3/fixed whitespace
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.

None yet

3 participants