Update '12/torusKnot.js'

master
ioanatomici 5 years ago
parent 546e5bd9ac
commit eff1d5cc51

@ -2,7 +2,7 @@ var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera( 75, window.innerWidth/window.innerHeight, 0.1, 100 );
var renderer = new THREE.WebGLRenderer();
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.setSize( window.innerWidth/2, window.innerHeight/2 );
document.body.appendChild( renderer.domElement );
var geometry = new THREE.TorusKnotGeometry( 10, 3, 100, 16 );

Loading…
Cancel
Save