Skip to content

Commit

Permalink
Merge pull request #116 from pattern-x/feature/view-cube
Browse files Browse the repository at this point in the history
Replace NavCube with ViewCube
  • Loading branch information
pattern-x committed Oct 5, 2023
1 parent f5ecfc9 commit 7e4a6e1
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "./static/css/main.f052ad65.css",
"main.js": "./static/js/main.f2f06aa8.js",
"main.js": "./static/js/main.f53cf6dd.js",
"static/js/787.cf5efa72.chunk.js": "./static/js/787.cf5efa72.chunk.js",
"demo/libs/gemini-viewer.esm.min.js": "./demo/libs/gemini-viewer.esm.min.js",
"static/media/dwg_background.png": "./static/media/dwg_background.f630e7cda68e19172eec.png",
Expand Down Expand Up @@ -313,11 +313,11 @@
"demo/libs/types/core/webcam/index.d.ts": "./demo/libs/types/core/webcam/index.d.ts",
"demo/libs/types/core/workers/CreateMeshBvh.worker.d.ts": "./demo/libs/types/core/workers/CreateMeshBvh.worker.d.ts",
"main.f052ad65.css.map": "./static/css/main.f052ad65.css.map",
"main.f2f06aa8.js.map": "./static/js/main.f2f06aa8.js.map",
"main.f53cf6dd.js.map": "./static/js/main.f53cf6dd.js.map",
"787.cf5efa72.chunk.js.map": "./static/js/787.cf5efa72.chunk.js.map"
},
"entrypoints": [
"static/css/main.f052ad65.css",
"static/js/main.f2f06aa8.js"
"static/js/main.f53cf6dd.js"
]
}
4 changes: 2 additions & 2 deletions demo/bim_0.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
BimViewerToolbarPlugin,
ContextMenuPlugin,
MeasurementPlugin,
NavCubePlugin,
SectionPlugin,
SkyboxPlugin,
ToolbarMenuId,
ViewCubePlugin,
} from "./demo/libs/gemini-viewer.esm.min.js";

const filename = "rac_basic_sample_project.gltf";
Expand All @@ -50,7 +50,7 @@
new BimViewerToolbarPlugin(viewer, { menuConfig });
new ContextMenuPlugin(viewer);
new MeasurementPlugin(viewer);
new NavCubePlugin(viewer);
new ViewCubePlugin(viewer);
new SectionPlugin(viewer);
new SkyboxPlugin(viewer);

Expand Down
4 changes: 2 additions & 2 deletions demo/bim_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
BottomBarPlugin,
ContextMenuPlugin,
GroundShadowPlugin,
NavCubePlugin,
ViewCubePlugin,
} from "./demo/libs/gemini-viewer.esm.min.js";

const filename = "Duplex.gltf";
Expand All @@ -45,7 +45,7 @@
new BottomBarPlugin(viewer);
new ContextMenuPlugin(viewer);
new GroundShadowPlugin(viewer);
new NavCubePlugin(viewer);
new ViewCubePlugin(viewer);

// draco decoder path is needed to load draco encoded models.
// gemini-viewer js sdk user maintains draco decoder code somewhere, and provides the path here.
Expand Down
4 changes: 2 additions & 2 deletions demo/bim_2_overlay_with_dxf.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
BimViewer,
BimViewerToolbarPlugin,
MeasurementPlugin,
NavCubePlugin,
SectionPlugin,
ViewCubePlugin,
} from "./demo/libs/gemini-viewer.esm.min.js";
import * as dat from "./demo/libs/dat.gui.module.js";
const gui = new dat.GUI();
Expand Down Expand Up @@ -56,7 +56,7 @@
new AxisGizmoPlugin(viewer);
new BimViewerToolbarPlugin(viewer);
new MeasurementPlugin(viewer);
new NavCubePlugin(viewer);
new ViewCubePlugin(viewer);
new SectionPlugin(viewer);

// font file is needed for loading dxf
Expand Down
4 changes: 2 additions & 2 deletions demo/empty_model_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
GroundShadowPlugin,
LocalModelUploader,
MeasurementPlugin,
NavCubePlugin,
SectionPlugin,
ViewCubePlugin,
} from "./demo/libs/gemini-viewer.esm.min.js";

const project = {
Expand All @@ -101,7 +101,7 @@
new ContextMenuPlugin(viewer);
new GroundShadowPlugin(viewer);
new MeasurementPlugin(viewer);
new NavCubePlugin(viewer);
new ViewCubePlugin(viewer);
new SectionPlugin(viewer);

// draco decoder path is needed to load draco encoded models.
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.f2f06aa8.js"></script><link href="./static/css/main.f052ad65.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.f53cf6dd.js"></script><link href="./static/css/main.f052ad65.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
2 changes: 0 additions & 2 deletions static/js/main.f2f06aa8.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/main.f2f06aa8.js.map

This file was deleted.

2 changes: 2 additions & 0 deletions static/js/main.f53cf6dd.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/js/main.f53cf6dd.js.map

Large diffs are not rendered by default.

0 comments on commit 7e4a6e1

Please sign in to comment.