File tree 2 files changed +7
-4
lines changed
libs/soba/staging/src/lib
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';
22
22
import * as THREE from 'three' ;
23
23
import { CubeCamera } from 'three' ;
24
24
import { 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' ;
27
30
28
31
function resolveScene ( scene : THREE . Scene | ElementRef < THREE . Scene > ) {
29
32
return is . ref ( scene ) ? scene . nativeElement : scene ;
@@ -64,7 +67,7 @@ function setEnvProps(
64
67
} ;
65
68
}
66
69
67
- export interface NgtsEnvironmentOptions extends Partial < NgtsInjectEnvironmentOptions > {
70
+ export interface NgtsEnvironmentOptions extends Partial < NgtsEnvironmentResourceOptions > {
68
71
frames ?: number ;
69
72
near ?: number ;
70
73
far ?: number ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { NgtsBounds } from './bounds';
18
18
import { NgtsCenter , NgtsCenterOptions , NgtsCenterState } from './center' ;
19
19
import { NgtsContactShadows , NgtsContactShadowsOptions } from './contact-shadows' ;
20
20
import { NgtsEnvironment , NgtsEnvironmentOptions } from './environment/environment' ;
21
- import { NgtsEnvironmentPresets } from './environment/inject- environment' ;
21
+ import { type NgtsEnvironmentPresets } from './environment/environment-resource ' ;
22
22
import { NgtsRandomizedLights , NgtsRandomizedLightsOptions } from './randomized-lights' ;
23
23
24
24
const presets = {
You can’t perform that action at this time.
0 commit comments