test: import world transform helpers from scene graph
This commit is contained in:
parent
5487f659da
commit
bb7e62117f
|
|
@ -1,6 +1,7 @@
|
|||
export * from './images'
|
||||
export * from './snap'
|
||||
export * from './export-scale'
|
||||
export * from './coordinate'
|
||||
export * from './geometry'
|
||||
export { default as TransformMatrix } from './matrix'
|
||||
export type { Mat3 } from './matrix'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
import { describe, expect, test } from 'bun:test'
|
||||
|
||||
import { getWorldMatrix, SceneGraph, TransformMatrix } from '@open-pencil/core'
|
||||
import { getWorldMatrix, SceneGraph, TransformMatrix } from '@open-pencil/scene-graph'
|
||||
|
||||
function pageId(graph: SceneGraph) {
|
||||
return graph.getPages()[0].id
|
||||
|
|
|
|||
Loading…
Reference in a new issue