@react-three/fiber 8.3.0 → 8.3.1
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/CHANGELOG.md
CHANGED
|
@@ -8,10 +8,11 @@ export declare type NonFunctionKeys<T> = {
|
|
|
8
8
|
export declare type Overwrite<T, O> = Omit<T, NonFunctionKeys<O>> & O;
|
|
9
9
|
declare type Args<T> = T extends new (...args: any) => any ? ConstructorParameters<T> : T;
|
|
10
10
|
export declare type Euler = THREE.Euler | Parameters<THREE.Euler['set']>;
|
|
11
|
-
export declare type Matrix4 = THREE.Matrix4 | Parameters<THREE.Matrix4['set']>;
|
|
12
|
-
|
|
13
|
-
export declare type
|
|
14
|
-
export declare type
|
|
11
|
+
export declare type Matrix4 = THREE.Matrix4 | Parameters<THREE.Matrix4['set']> | Readonly<THREE.Matrix4['set']>;
|
|
12
|
+
declare type VectorLike<VectorClass extends THREE.Vector> = VectorClass | Parameters<VectorClass['set']> | Readonly<Parameters<VectorClass['set']>> | Parameters<VectorClass['setScalar']>[0];
|
|
13
|
+
export declare type Vector2 = VectorLike<THREE.Vector2>;
|
|
14
|
+
export declare type Vector3 = VectorLike<THREE.Vector3>;
|
|
15
|
+
export declare type Vector4 = VectorLike<THREE.Vector4>;
|
|
15
16
|
export declare type Color = ConstructorParameters<typeof THREE.Color> | THREE.Color | number | string;
|
|
16
17
|
export declare type ColorArray = typeof THREE.Color | Parameters<THREE.Color['set']>;
|
|
17
18
|
export declare type Layers = THREE.Layers | Parameters<THREE.Layers['set']>[0];
|