phetsims / dot

A math library with a focus on mutable and immutable linear algebra for 2D and 3D applications.
http://scenerystack.org/
MIT License
13 stars 6 forks source link

use imports.js pattern to avoid circular dependencies #118

Open zepumph opened 1 year ago

zepumph commented 1 year ago

This established pattern has been working well in kite and scenery. Refactoring to this strategy would solve potential order dependency issues and confusion, like https://github.com/phetsims/dot/issues/101. Totally up to @jonathanolson when we surpass the threshold for it in this repo though.