Skip to content

Commit

Permalink
improve building
Browse files Browse the repository at this point in the history
  • Loading branch information
genbs committed Jul 28, 2021
1 parent 7931709 commit 7fd2416
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 10 deletions.
40 changes: 40 additions & 0 deletions src/core.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
export * from '@urpflanze/core/dist/cjs/Scene'
export * from '@urpflanze/core/dist/cjs/SceneChild'
export * from '@urpflanze/core/dist/cjs/Group'
export * from '@urpflanze/core/dist/cjs/shapes/ShapeBase'
export * from '@urpflanze/core/dist/cjs/shapes/ShapePrimitive'
export * from '@urpflanze/core/dist/cjs/shapes/ShapeLoop'
export * from '@urpflanze/core/dist/cjs/shapes/ShapeBuffer'
export * from '@urpflanze/core/dist/cjs/shapes/Shape'
export * from '@urpflanze/core/dist/cjs/shapes/ShapeRecursive'
export * from '@urpflanze/core/dist/cjs/shapes/ShapeFollow'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Line'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Triangle'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Rect'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Polygon'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Circle'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Star'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Rose'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Spiral'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/Lissajous'
export * from '@urpflanze/core/dist/cjs/shapes/primitives/SuperShape'
export * from '@urpflanze/core/dist/cjs/modifiers/Modifier'
export * from '@urpflanze/core/dist/cjs/modifiers'
export {
lerp,
clamp,
relativeClamp,
toDegrees,
toRadians,
now,
noise,
random,
angleFromRepetition,
angle2FromRepetition,
distanceFromRepetition,
interpolate,
prepareBufferForInterpolation,
distributePointsInBuffer,
} from '@urpflanze/core/dist/cjs/Utilities'
export { default as Vec2 } from '@urpflanze/core/dist/cjs/math/Vec2'
export { PHI, PI2, log, mod } from '@urpflanze/core/dist/cjs/math'
5 changes: 1 addition & 4 deletions src/index-light.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
import * as Urpflanze from './modules-light'

export { Urpflanze }
export default Urpflanze
export * from './modules-light'
5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
import * as Urpflanze from './modules'

export { Urpflanze }
export default Urpflanze
export * from './modules'
2 changes: 1 addition & 1 deletion src/modules-light.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from '@urpflanze/core/dist/cjs'
export * from './core'

export * as Animation from '@urpflanze/animation/dist/cjs'

Expand Down
1 change: 0 additions & 1 deletion src/modules.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export * from './modules-light'

export * from './modules-light'
export * as Color from '@urpflanze/color/dist/cjs'

export { Renderer, Timeline } from '@urpflanze/drawer-canvas/dist/cjs'
Expand Down

0 comments on commit 7fd2416

Please sign in to comment.