Skip to content

Commit

Permalink
Avoid the need to install three.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Ponce committed Jun 29, 2022
1 parent 86941fc commit 6820ec0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions export_LHCb.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<html>

<head>
<script src="three.js/build/three.js"></script>
<script src="three.js/examples/js/exporters/GLTFExporter.js"> </script>
<head>
<script src="https://unpkg.com/[email protected]/build/three.js"> </script>
<script> import * as THREE from 'three'; </script>
<script src="https://unpkg.com/[email protected]/examples/js/exporters/GLTFExporter.js"> </script>
<script src="https://root.cern/js/latest/scripts/JSRoot.core.js"> </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/1.3.8/FileSaver.js"></script>

</head>
</head>

<body>
<script type="module">

import { convertGeometry } from './phoenixExport.js';

var hide_children = [
Expand Down

0 comments on commit 6820ec0

Please sign in to comment.