File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
libs/soba/staging/src/lib Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,11 @@ import { mergeInputs } from 'ngxtension/inject-inputs';
2222import * as THREE from 'three' ;
2323import { CubeCamera } from 'three' ;
2424import { GroundProjectedEnv } from 'three-stdlib' ;
25- import { environmentResource } from './environment-resource' ;
26- import { NgtsEnvironmentPresets , NgtsInjectEnvironmentOptions } from './inject-environment' ;
25+ import {
26+ environmentResource ,
27+ type NgtsEnvironmentPresets ,
28+ type NgtsEnvironmentResourceOptions ,
29+ } from './environment-resource' ;
2730
2831function resolveScene ( scene : THREE . Scene | ElementRef < THREE . Scene > ) {
2932 return is . ref ( scene ) ? scene . nativeElement : scene ;
@@ -64,7 +67,7 @@ function setEnvProps(
6467 } ;
6568}
6669
67- export interface NgtsEnvironmentOptions extends Partial < NgtsInjectEnvironmentOptions > {
70+ export interface NgtsEnvironmentOptions extends Partial < NgtsEnvironmentResourceOptions > {
6871 frames ?: number ;
6972 near ?: number ;
7073 far ?: number ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { NgtsBounds } from './bounds';
1818import { NgtsCenter , NgtsCenterOptions , NgtsCenterState } from './center' ;
1919import { NgtsContactShadows , NgtsContactShadowsOptions } from './contact-shadows' ;
2020import { NgtsEnvironment , NgtsEnvironmentOptions } from './environment/environment' ;
21- import { NgtsEnvironmentPresets } from './environment/inject- environment' ;
21+ import { type NgtsEnvironmentPresets } from './environment/environment-resource ' ;
2222import { NgtsRandomizedLights , NgtsRandomizedLightsOptions } from './randomized-lights' ;
2323
2424const presets = {
You can’t perform that action at this time.
0 commit comments