Comparing version 0.66.2 to 0.67.0
@@ -5,3 +5,3 @@ { | ||
"version" : "0.66.2", | ||
"version" : "0.67.0", | ||
@@ -8,0 +8,0 @@ "description" : "JavaScript 3D library", |
@@ -20,3 +20,3 @@ three.js | ||
This code creates a scene, then creates a camera, adds the camera and cube to the scene, creates a <canvas> renderer and adds its viewport in the document.body element. | ||
This code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. It then creates a <canvas> renderer for the scene and camera, and it adds that viewport to the document.body element. Finally it animates the cube within the scene for the camera. | ||
@@ -26,3 +26,3 @@ ```html | ||
var camera, scene, renderer; | ||
var scene, camera, renderer; | ||
var geometry, material, mesh; | ||
@@ -35,11 +35,11 @@ | ||
scene = new THREE.Scene(); | ||
camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 10000 ); | ||
camera.position.z = 1000; | ||
scene = new THREE.Scene(); | ||
geometry = new THREE.BoxGeometry( 200, 200, 200 ); | ||
material = new THREE.MeshBasicMaterial( { color: 0xff0000, wireframe: true } ); | ||
mesh = new THREE.Mesh( geometry, material ); | ||
scene.add( mesh ); | ||
@@ -46,0 +46,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74646
6707815
1