They’re flat
the code:
// ******** START CODING ON THE NEXT LINE ********
var shape = new THREE.SphereGeometry(50, 20, 15);
var cover = new THREE.MeshBasicMaterial({color: ‘blue’});
var planet = new THREE.Mesh(shape, cover);
planet.position.set(-300, 0, 0);
scene.add(planet);
var shape = new THREE.SphereGeometry(50, 20, 15);
var cover = new THREE.MeshBasicMaterial({color: ‘yellow’});
var planet = new THREE.Mesh(shape, cover);
planet.position.set(200, 0, 250);
scene.add(planet);
the console:
Document was loaded from Application Cache with manifest https://www.code3dgames.com/3de/editor.appcache
www.code3dgames.com/:1 Application Cache Checking event
www.code3dgames.com/:1 Application Cache NoUpdate event
extension.js:24 onMessage extension
ial.js:425 Clean the cache of the scraper (new onComplete event)
2three.js:20919 THREE.WebGLRenderer 87
code.html:30 Uncaught SyntaxError: Unexpected token ‘.’
2three.js:20919 THREE.WebGLRenderer 87
three.js:20637 Uncaught TypeError: Cannot read property ‘length’ of undefined
three.js:20919 THREE.WebGLRenderer 87
code.html:23 Uncaught ReferenceError: T is not defined
three.js:20919 THREE.WebGLRenderer 87
code.html:23 Uncaught TypeError: THREE is not a constructor
9three.js:20919 THREE.WebGLRenderer 87
code.html:24 Uncaught ReferenceError: color is not defined
three.js:20919 THREE.WebGLRenderer 87
code.html:24 Uncaught ReferenceError: color is not defined
code.html:24 Uncaught SyntaxError: Unexpected token ‘}’
4three.js:20919 THREE.WebGLRenderer 87
code.html:31 Uncaught TypeError: Cannot read property ‘render’ of undefined
7three.js:20919 THREE.WebGLRenderer 87
code.html:24 Uncaught SyntaxError: Unexpected token ‘var’
code.html:24 Uncaught SyntaxError: Unexpected identifier
three.js:20919 THREE.WebGLRenderer 87
code.html:22 Uncaught TypeError: THREE.Object3d is not a constructor
19three.js:20919 THREE.WebGLRenderer 87
code.html:31 Uncaught TypeError: Cannot read property ‘render’ of undefined
3three.js:20919 THREE.WebGLRenderer 87
code.html:26 Uncaught ReferenceError: plan is not defined
24three.js:20919 THREE.WebGLRenderer 87
code.html:29 Uncaught SyntaxError: Unexpected identifier
code.html:29 Uncaught SyntaxError: Unexpected token ‘new’
three.js:20919 THREE.WebGLRenderer 87
three.js:20637 Uncaught TypeError: Cannot read property ‘length’ of undefined
three.js:20919 THREE.WebGLRenderer 87
code.html:29 Uncaught TypeError: THREE.S is not a constructor
4three.js:20919 THREE.WebGLRenderer 87
code.html:34 Uncaught SyntaxError: Unexpected token ‘.’
three.js:20919 THREE.WebGLRenderer 87
code.html:30 Uncaught TypeError: THREE is not a constructor
3three.js:20919 THREE.WebGLRenderer 87
code.html:34 Uncaught TypeError: Cannot read property ‘render’ of undefined
7three.js:20919 THREE.WebGLRenderer 87
code.html:30 Uncaught SyntaxError: Unexpected token ‘.’
code.html:30 Uncaught SyntaxError: Unexpected token ‘}’
9three.js:20919 THREE.WebGLRenderer 87
three.js:20919 THREE.WebGLRenderer 87
Sorry if I post stuff too much