@tresjs/core 4.2.1 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/utils/is.d.ts +2 -1
- package/dist/tres.js +506 -503
- package/dist/tres.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/src/utils/is.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TresObject, TresPrimitive } from 'src/types';
|
|
2
|
-
import { BufferGeometry, Camera, Fog, Material, Object3D, Scene } from 'three';
|
|
2
|
+
import { BufferGeometry, Camera, Fog, Light, Material, Object3D, Scene } from 'three';
|
|
3
3
|
|
|
4
4
|
export declare function und(u: unknown): u is undefined;
|
|
5
5
|
export declare function arr(u: unknown): u is any[];
|
|
@@ -12,6 +12,7 @@ export declare function object3D(u: unknown): u is Object3D;
|
|
|
12
12
|
export declare function camera(u: unknown): u is Camera;
|
|
13
13
|
export declare function bufferGeometry(u: unknown): u is BufferGeometry;
|
|
14
14
|
export declare function material(u: unknown): u is Material;
|
|
15
|
+
export declare function light(u: unknown): u is Light;
|
|
15
16
|
export declare function fog(u: unknown): u is Fog;
|
|
16
17
|
export declare function scene(u: unknown): u is Scene;
|
|
17
18
|
export declare function tresObject(u: unknown): u is TresObject;
|