Skip to content

Commit 4ed6141

Browse files
committed
Attempt to enable COOP and COEP so the multithreaded examples work on github.io
1 parent c4aa0bf commit 4ed6141

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Examples/conveyor_belt_threaded.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
This demo shows how to use the contact listener to modify object angular and linear velocity
1313
</div>
1414

15+
<script src="js/coi-serviceworker.min.js"></script>
1516
<script src="js/three/three.min.js"></script>
1617
<script src="js/three/OrbitControls.js"></script>
1718
<script src="js/three/WebGL.js"></script>

Examples/js/coi-serviceworker.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Examples/stress_test_threaded.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<div id="container">Loading...</div>
1111
<div id="info">JoltPhysics.js multi threaded stress test demo</div>
1212

13+
<script src="js/coi-serviceworker.min.js"></script>
1314
<script src="js/three/three.min.js"></script>
1415
<script src="js/three/OrbitControls.js"></script>
1516
<script src="js/three/WebGL.js"></script>

0 commit comments

Comments
 (0)