Răsfoiți Sursa

TS: Update DRACOExporter.

Mugen87 5 ani în urmă
părinte
comite
7cdeceba22
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      examples/jsm/exporters/DRACOExporter.d.ts

+ 3 - 3
examples/jsm/exporters/DRACOExporter.d.ts

@@ -1,6 +1,6 @@
 import {
-	BufferGeometry,
-	Geometry
+	Mesh,
+	Points
 } from '../../../src/Three';
 
 export interface DRACOExporterOptions {
@@ -17,6 +17,6 @@ export class DRACOExporter {
 
 	constructor();
 
-	parse( geometry: BufferGeometry | Geometry, options: DRACOExporterOptions ): Int8Array;
+	parse( object: Mesh | Points, options: DRACOExporterOptions ): Int8Array;
 
 }

粤ICP备19079148号