Browse Source

TS: Update DRACOExporter.

Mugen87 4 years ago
parent
commit
7cdeceba22
1 changed files with 3 additions and 3 deletions
  1. 3 3
      examples/jsm/exporters/DRACOExporter.d.ts

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

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