Created
July 10, 2013 03:34
-
-
Save nklsrh/5963294 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
camera = new THREE.PerspectiveCamera( | |
VIEW_ANGLE, | |
ASPECT, | |
NEAR, | |
FAR); | |
scene = new THREE.Scene(); | |
// add the camera to the scene | |
scene.add(camera); | |
// set a default position for the camera | |
// not doing this somehow messes up shadow rendering | |
camera.position.z = 320; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment