kopia lustrzana https://github.com/backface/turtlestitch
three upgrade fixes
rodzic
9ff1b97cef
commit
fcb13b85d1
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue