Skip to content

Commit

Permalink
Use 2.0.0 in package, some camera tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
pboyer committed Oct 21, 2015
1 parent ba3d74d commit be78951
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion examples/js/threeBasic.js
Expand Up @@ -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 });
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "verb-nurbs",
"version": "1.9.0",
"version": "2.0.0",
"author": "pboyer <peter.b.boyer@gmail.com>",
"description": "A CAD library for the web",
"repository": {
Expand Down

0 comments on commit be78951

Please sign in to comment.