question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

potential bug in src/core/math/Matrix.toArray ?

See original GitHub issue

looking at fromArray(): https://github.com/pixijs/pixi.js/blob/dev/src/core/math/Matrix.js#L76-#L83

the array structure is [a, b, tx, c, d, ty]

looking at toArray() https://github.com/pixijs/pixi.js/blob/dev/src/core/math/Matrix.js#L140-#L148

for this non-transposed case, why is the array ordering different?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
bigtimebuddycommented, Jul 4, 2017

We should probably deprecate that toArray() method. Would welcome a PR for that.

0reactions
lock[bot]commented, Feb 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

potential bug in src/core/math/Matrix.toArray ? #4140 - GitHub
looking at fromArray(): https://github.com/pixijs/pixi.js/blob/dev/src/core/math/Matrix.js#L76-#L83 the array structure is [a, b, tx, c, d, ...
Read more >
JDK-5072831 (coll) Please add Collections.toArray - Bug ID
toArray () is called, possibly leading to the method (rarely) returning an array with trailing null elements. Worse, if the collection allows null...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found