From be78951e69da5e539aa5d5933018a701ec3efe89 Mon Sep 17 00:00:00 2001 From: Peter Boyer Date: Tue, 20 Oct 2015 21:25:01 -0400 Subject: [PATCH] Use 2.0.0 in package, some camera tweaks --- examples/js/threeBasic.js | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/js/threeBasic.js b/examples/js/threeBasic.js index f485b6a1..ff80a55c 100644 --- a/examples/js/threeBasic.js +++ b/examples/js/threeBasic.js @@ -26,7 +26,11 @@ function setupScene(doUseRaycaster){ scene = new THREE.Scene(); camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 ); - camera.position.z = 20; + camera.lookAt(20,-20,0); + camera.position.x = 30; + camera.position.y = -30; + camera.position.z = 10; + camera.up.set( 0, 0, 1 ); renderer = new THREE.WebGLRenderer({ antialias: true }); diff --git a/package.json b/package.json index ac036f8b..b66255c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "verb-nurbs", - "version": "1.9.0", + "version": "2.0.0", "author": "pboyer ", "description": "A CAD library for the web", "repository": {