Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
fix(core): include pipes in CoreModule
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Dec 2, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b8b03a4 commit 61762a4
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -5,6 +5,8 @@ export * from './lib/core.module';
export * from './lib/canvas.component';

export * from './lib/vector/vector.pipe';
export * from './lib/color/color.pipe';
export * from './lib/math/math.pipe';

export * from './lib/controllers/controller';
export * from './lib/controllers/object-3d.controller';
6 changes: 6 additions & 0 deletions packages/core/src/lib/core.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import { NgModule } from '@angular/core';
import { NgtCanvas } from './canvas.component';
import { NgtColorPipeModule } from './color/color.pipe';
import { NgtAnimationSubscriberControllerModule } from './controllers/animation-subscriber.controller';
import { NgtAudioControllerModule } from './controllers/audio.controller';
import { NgtMaterialGeometryControllerModule } from './controllers/material-geometry.controller';
import { NgtObject3dInputsControllerModule } from './controllers/object-3d-inputs.controller';
import { NgtObject3dControllerModule } from './controllers/object-3d.controller';
import { NgtMathPipeModule } from './math/math.pipe';
import { NgtVectorPipeModule } from './vector/vector.pipe';

@NgModule({
declarations: [NgtCanvas],
@@ -15,6 +18,9 @@ import { NgtObject3dControllerModule } from './controllers/object-3d.controller'
NgtObject3dInputsControllerModule,
NgtAudioControllerModule,
NgtAnimationSubscriberControllerModule,
NgtMathPipeModule,
NgtVectorPipeModule,
NgtColorPipeModule,
],
})
export class NgtCoreModule {}

0 comments on commit 61762a4

Please sign in to comment.