Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponali committed Dec 17, 2023
1 parent 858f4c6 commit da6f583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/jsart/demos/threeTest.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(()=>{
if(x+y==0){if(!window.threeTest){window.threeTest={};fetch("https://threejs-demo.nhowe.repl.co/three.min.js").then(data=>data.text()).then(body=>{console.log("fetch correct!");(new Function(body))();init()});};if(window.THREE){window.threeTest.animate()}else{console.log("Waiting initialisation to end...")};}
if(x+y==0){if(!window.threeTest){window.threeTest={};fetch("https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js").then(data=>data.text()).then(body=>{console.log("fetch correct!");(new Function(body))();init()});};if(window.THREE){window.threeTest.animate()}else{console.log("Waiting initialisation to end...")};}
function createWorld() {
console.log("Creating world...");
window.threeTest.scene = new THREE.Scene();
Expand Down

0 comments on commit da6f583

Please sign in to comment.