Skip to content

Commit

Permalink
Fix Welcome.md quick example
Browse files Browse the repository at this point in the history
Former-commit-id: e0ba029
  • Loading branch information
queengooborg authored Jan 23, 2018
1 parent 306f1b0 commit 5e7dc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/Welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const app = new WHS.App([
new WHS.SceneModule(), // Create a new THREE.Scene and set it to app.

new WHS.DefineModule('camera', new WHS.PerspectiveCamera({ // Apply a camera.
position: new Vector3(0, 0, 50)
position: new THREE.Vector3(0, 0, 50)
})),

new WHS.RenderingModule({bgColor: 0x162129}), // Apply THREE.WebGLRenderer
Expand Down

0 comments on commit 5e7dc41

Please sign in to comment.