diff --git a/jsdoc-testing/changes.patch b/jsdoc-testing/changes.patch index 1a6ce4da8..35b95487d 100644 --- a/jsdoc-testing/changes.patch +++ b/jsdoc-testing/changes.patch @@ -7927,7 +7927,7 @@ index e44d5d72d..f676390c3 100644 +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface SpriteMaterial extends SpriteMaterialProperties {} diff --git a/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts b/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts -index 1637e7e49..8ba16fe20 100644 +index 82f46fddc..ff70c04d5 100644 --- a/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts +++ b/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts @@ -1,76 +1,50 @@ @@ -8018,7 +8018,7 @@ index 1637e7e49..8ba16fe20 100644 * @default false */ get worldUnits(): boolean; -@@ -78,9 +52,35 @@ declare class Line2NodeMaterial extends NodeMaterial { +@@ -78,16 +52,42 @@ declare class Line2NodeMaterial extends NodeMaterial { /** * Whether the lines should be dashed or not. * @@ -8026,8 +8026,7 @@ index 1637e7e49..8ba16fe20 100644 * @default false */ get dashed(): boolean; - } --import NodeMaterial from './NodeMaterial.js'; ++} + +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface Line2NodeMaterialParameters extends Partial>, LineDashedMaterialParameters {} @@ -8050,7 +8049,16 @@ index 1637e7e49..8ba16fe20 100644 + */ + readonly isLine2NodeMaterial: boolean; + setValues(values?: Line2NodeMaterialParameters): void; -+} + /** + * Copies the properties of the given material to this instance. + * + * @param {Line2NodeMaterial} source - The material to copy. + * @return {Line2NodeMaterial} A reference to this material. + */ +- copy(source: Line2NodeMaterial): Line2NodeMaterial; ++ copy(source: Line2NodeMaterial): this; + } +-import NodeMaterial from './NodeMaterial.js'; + +// eslint-disable-next-line @typescript-eslint/no-empty-interface +interface Line2NodeMaterial extends Line2NodeMaterialNodeProperties, LineDashedMaterialProperties {} diff --git a/three.js b/three.js index a567d3642..a14d87454 160000 --- a/three.js +++ b/three.js @@ -1 +1 @@ -Subproject commit a567d3642a5357194accb890ba02c42842b18193 +Subproject commit a14d87454682cba3816d13403d5f3ea29b771eb1 diff --git a/types/three/src/materials/nodes/Line2NodeMaterial.d.ts b/types/three/src/materials/nodes/Line2NodeMaterial.d.ts index 1766a71e3..443dc719c 100644 --- a/types/three/src/materials/nodes/Line2NodeMaterial.d.ts +++ b/types/three/src/materials/nodes/Line2NodeMaterial.d.ts @@ -82,6 +82,13 @@ declare class Line2NodeMaterial extends NodeMaterial { */ readonly isLine2NodeMaterial: boolean; setValues(values?: Line2NodeMaterialParameters): void; + /** + * Copies the properties of the given material to this instance. + * + * @param {Line2NodeMaterial} source - The material to copy. + * @return {Line2NodeMaterial} A reference to this material. + */ + copy(source: Line2NodeMaterial): this; } // eslint-disable-next-line @typescript-eslint/no-empty-interface