three upgrade fixes

pull/95/head
Michael 2021-07-08 15:24:16 +02:00
rodzic 9ff1b97cef
commit fcb13b85d1
2 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -27,7 +27,7 @@
<script src="src/FileSaver.min.js?version=2019-06-27"></script>
<!-- three.js -->
<script type="text/javascript" src="stitchcode/three-124/three.js"></script>
<script type="text/javascript" src="stitchcode/three-124/three.min.js"></script>
<script type="text/javascript" src="stitchcode/threee/CanvasRenderer.js"></script>
<script type="text/javascript" src="stitchcode/threee/THREE.MeshLine.js"></script>
<script type="text/javascript" src="stitchcode/threee/OrbitControls.old.js"></script>

Wyświetl plik

@ -2725,8 +2725,6 @@ StageMorph.prototype.initTurtle = function() {
loader.load( 'stitchcode/assets/turtle.js',
function ( geometry, materials ) {
console.log(geometry);
console.log(material);
//var material = materials[ 0 ];
this.turtle = new THREE.Mesh(geometry,material);
this.turtle.scale.set(4, 4, 4);