Skip to content

Commit

Permalink
chore: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonflatval-cognite committed Jul 7, 2022
1 parent 0db301d commit 0b2c2aa
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { AutoTerminatingWorker, WorkerPool } from '../utils/WorkerPool';
import { ILoader } from './ILoader';
import { ModelDataProvider } from '@reveal/modeldata-api';
import { PointCloudEptGeometryNode } from '../geometry/PointCloudEptGeometryNode';

import EptDecoderWorker from '../workers/eptBinaryDecoder.worker';
import { ParseCommand, ObjectsCommand } from '../workers/eptBinaryDecoder.worker';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
* Copyright 2022 Cognite AS
*/

import * as THREE from 'three';

import { RawStylableObject, StylableObject, rawToStylableObject } from '../../styling/StylableObject';

import { parseEpt, EptInputData } from './parseEpt';
Expand Down Expand Up @@ -33,11 +31,6 @@ export type ParseCommand = {

ctx.onmessage = function (event: MessageEvent<ICommand>) {
const command = event.data as ICommand;
const box = new THREE.Box3();
box.expandByPoint(new THREE.Vector3(0, 0, 0));
box.expandByPoint(new THREE.Vector3(1, -1, 1));
console.log("[worker] Three box = ", box);


switch (command.type) {
case 'objects':
Expand Down
13 changes: 0 additions & 13 deletions viewer/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ const defaultExportFunction = (env, entries, additionalAllow = undefined) => {
mode: development ? 'development' : 'production',
// Internals is not part of prod builds
entry: entryObject,

/* development
? {
index: './index.ts',
tools: './tools.ts',
'extensions/datasource': './extensions/datasource.ts',
internals: './internals.ts'
}
: {
index: './index.ts',
tools: './tools.ts',
'extensions/datasource': './extensions/datasource.ts'
}, */
target: 'web',
resolve: {
fallback: {
Expand Down

0 comments on commit 0b2c2aa

Please sign in to comment.