Skip to content

Commit

Permalink
feat(3DTiles) remove todo and clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
jogarnier committed Jun 30, 2023
1 parent e3e48ba commit 960d517
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/Parser/B3dmParser.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import * as THREE from 'three';
import Capabilities from 'Core/System/Capabilities';
import { GLTFLoader } from 'ThreeExtended/loaders/GLTFLoader';
import { DRACOLoader } from 'ThreeExtended/loaders/DRACOLoader';
import LegacyGLTFLoader from 'Parser/deprecated/LegacyGLTFLoader';
import shaderUtils from 'Renderer/Shader/ShaderUtils';
import utf8Decoder from 'Utils/Utf8Decoder';
import C3DTBatchTable from 'Core/3DTiles/C3DTBatchTable';
import ReferLayerProperties from 'Layer/ReferencingLayerProperties';
import { MeshBasicMaterial } from 'three';
import disposeThreeMaterial from 'Utils/ThreeUtils';

import GLTFParser from './GLTFParser';

Expand Down Expand Up @@ -68,7 +63,6 @@ export default {
*/
parse(buffer, options) {
const gltfUpAxis = options.gltfUpAxis;
const urlBase = options.urlBase;
if (!buffer) {
throw new Error('No array buffer provided.');
}
Expand Down
1 change: 0 additions & 1 deletion src/Provider/3dTilesProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ function executeCommand(command) {
// Patch for supporting 3D Tiles pre 1.0 (metadata.content.url) and 1.0
// (metadata.content.uri)

// TODO should be responsability of each C3DTilesSource.completeMetadata to give the correct path.
const path = metadata.content && (metadata.content.url || metadata.content.uri);

const setLayer = (obj) => {
Expand Down

0 comments on commit 960d517

Please sign in to comment.