javascript - 3D model rotation on HTML with JS -
Referencing, I'm unable to see a cube that should be here.
The code causes these 2 errors:
Done: Three. The cube gimetry is excluded instead of three. Use box-geometry. Three.min.js: 634 Unwanted Reference Reference: Content Not Defined
Code:
THREE.CubeGeometry
has been deprecated, which means that you should indicate it what the error says:
three. Box Animation
. Do: var geometry = new three. Box Glomptary (100,100,100); Instead of
:
var geometry = new three. Cube Geometry (100,100,100);
View
Issue 2: On the second error, you have a typo using content
instead of content
Do it:
var mesh = new three Aries (geometry, content); Instead of
:
var mesh = new three. Mesh (geometry, content);
Comments
Post a Comment