Open zepumph opened 7 months ago
It looks like there was a bug in Bounds3.transform. The jsdoc said that it wanted a Matrix4, but the implementation seems dependent on Matrix3. I added TODOs pointing to this issue. @jonathanolson can you help out with this? I don't see Matrix4.isIdentity()
.
https://github.com/phetsims/dot/blob/8a8ed845d3f0c1e1518cefb0860562e6fe0a7897/js/Bounds3.ts#L872
It should eventually support Matrix3 (just a rotation) or Matrix4 (rotation + translation).
I'll work on converting Complex.js to TypeScript.
I'll work on Random.js next.
Resolved the Bounds3 bug, now using Matrix4. Unassigning. Matrix4 should be upgraded to match Matrix3 when more work is done on it.
I'm surprised to still see so much in JavaScript over here in dot. I ran into this with Bounds3, and will convert it as I butt up against it over in https://github.com/phetsims/density-buoyancy-common/issues/98