Skip to content

Commit

Permalink
Fix circular dependency import at fromMovingPoints file (#97)
Browse files Browse the repository at this point in the history
* Fix circular dependency import at fromMovingPoints file

Rollup reporting circular dependency import at `fromMovingPoints` file

```
Circular dependency: ../../node_modules/transformation-matrix/src/index.js -> ../../node_modules/transformation-matrix/src/fromMovingPoints.js -> ../../node_modules/transformation-matrix/src/index.js
```

* Fix import to compose

* Update fromMovingPoints.js
  • Loading branch information
jedrzejchalubek authored Mar 3, 2023
1 parent e19ff73 commit a76aded
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fromMovingPoints.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { translate } from './translate'
import { applyToPoint } from './applyToPoint'
import { scale, rotate, compose } from './index'
import { rotate } from './rotate'
import { scale } from './scale'
import { compose } from './transform'

// https://manivannan-ai.medium.com/find-the-angle-between-three-points-from-2d-using-python-348c513e2cd

Expand Down

0 comments on commit a76aded

Please sign in to comment.