Browse Source

unnecessary updater

sunag 7 years ago
parent
commit
5ff096fe21
1 changed files with 0 additions and 36 deletions
  1. 0 36
      examples/js/loaders/sea3d/SEA3DDraco.js

+ 0 - 36
examples/js/loaders/sea3d/SEA3DDraco.js

@@ -210,39 +210,6 @@ SEA3D.GeometryDraco.prototype.readUint16Array = function ( module, decoder, mesh
 
 
 };
 };
 
 
-//
-//	Geometry Update
-//
-
-SEA3D.GeometryUpdateDraco = function ( name, data, sea3d ) {
-
-	this.name = name;
-	this.data = data;
-	this.sea3d = sea3d;
-
-	this.index = data.readUInt();
-	this.bytes = data.concat( data.position, data.length - data.position );
-
-};
-
-SEA3D.GeometryUpdateDraco.prototype.type = "sDRC";
-
-//
-//	Updaters
-//
-
-THREE.SEA3D.prototype.readGeometryUpdateDraco = function ( sea ) {
-
-	var obj = this.file.objects[ sea.index ],
-		geo = obj.tag;
-
-	var seaUpdate = new SEA3D.GeometryDraco( "", sea.bytes, sea.sea3d );
-	seaUpdate.tag = geo;
-
-	this.readGeometryBuffer( seaUpdate );
-
-};
-
 //
 //
 //	Extension
 //	Extension
 //
 //
@@ -252,10 +219,7 @@ THREE.SEA3D.EXTENSIONS_LOADER.push( {
 	setTypeRead: function () {
 	setTypeRead: function () {
 
 
 		this.file.addClass( SEA3D.GeometryDraco, true );
 		this.file.addClass( SEA3D.GeometryDraco, true );
-		this.file.addClass( SEA3D.GeometryUpdateDraco, true );
-
 		this.file.typeRead[ SEA3D.GeometryDraco.prototype.type ] = this.readGeometryBuffer;
 		this.file.typeRead[ SEA3D.GeometryDraco.prototype.type ] = this.readGeometryBuffer;
-		this.file.typeRead[ SEA3D.GeometryUpdateDraco.prototype.type ] = this.readGeometryUpdateDraco;
 
 
 	}
 	}