Commit c53d52b9 authored by legoc's avatar legoc
Browse files

Moved n3d content to common

parent 8bdb262f
......@@ -30,7 +30,7 @@ class Collision {
this._collisionDetection = null;
if (config.collisionDetection) {
let Nomad3DCollisions = require('../../n3d/link/nomad-3d-collisions');
let Nomad3DCollisions = require('../../common/link/nomad-3d-collisions');
this._collisionDetection = new Nomad3DCollisions(streamDispatcher);
}
this._controller = {
......
const Nomad3DPositions = require("../../n3d/link/nomad-3d-positions.js");
const Nomad3DPositions = require("../../common/link/nomad-3d-positions.js");
const StreamDispatcher = require("../../common/stream-dispatcher.js");
const PubSub = require('pubsub-js');
......
......@@ -12,8 +12,8 @@ const OrbitControls = require('three-orbitcontrols');
const TransformControls = require('three-transformcontrols');;
const dat = require('dat.gui');
const Lights = require('./lights.js');
const Nomad3DModelLoader = require("../../n3d/model/model-loader.js");
const Model = require('../../n3d/model/model.js');
const Nomad3DModelLoader = require("../../common/model/model-loader.js");
const Model = require('../../common/model/model.js');
const AssetGetter = require('../asset/asset-getter.js');
class Objects {
......
......@@ -43,7 +43,7 @@ const OrbitControls = require('three-orbitcontrols');
const dat = require('dat.gui');
const Lights = require('./lights.js');
const Objects = require('./objects.js')
const LODSelector = require('../../n3d/model/lod-selector.js');
const LODSelector = require('../../common/model/lod-selector.js');
const AssetGetter = require('../asset/asset-getter.js');
const StreamDispatcher = require('../../common/stream-dispatcher.js');
......
const PartsHierarchy = require("./parts-hierarchy.js");
const path = require('path');
const XMLHierarchyLoader = require("./xml-hierarchy-loader.js");
const Axis = require("../n3d/model/axis.js");
const Axis = require("../common/model/axis.js");
const THREE = require('three');
const { Matrix4 } = require("three");
......
const Component = require('../n3d/model/component.js');
const Component = require('../common/model/component.js');
const path = require('path');
/**
......
......@@ -14,7 +14,7 @@ const bufferToArrayBuffer = require('buffer-to-arraybuffer');
const STLLoader = require('./stl-loader.js')(THREE)
const XmlHierarchyLoader = require("./xml-hierarchy-loader.js");
const HierarchySimplifier = require("./hierarchy-simplifier");
const Component = require('../n3d/model/component');
const Component = require('../common/model/component');
/**
* System conversion between JavaFX and three.js
......
......@@ -6,10 +6,10 @@ const he = require('he');
const THREE = require('three');
const Axis = require('../n3d/model/axis.js');
const Component = require('../n3d/model/component.js');
const ConfigParams = require('../n3d/model/config-params.js');
const Nomad3DController = require('../n3d/link/nomad-3d-controller.js');
const Axis = require('../common/model/axis.js');
const Component = require('../common/model/component.js');
const ConfigParams = require('../common/model/config-params.js');
const Nomad3DController = require('../common/link/nomad-3d-controller.js');
const PartsHierarchy = require('./parts-hierarchy.js');
const { isArray } = require('jquery');
......
......@@ -47,7 +47,7 @@
"xmlhttprequest": "^1.8.0"
},
"scripts": {
"doc": "jsdoc -r -R README.md -d doc/ js/n3d/",
"doc": "jsdoc -r -R README.md -d doc/ js/common/",
"build": "webpack"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment