Last active
December 29, 2015 02:59
-
-
Save nazrdogan/7604615 to your computer and use it in GitHub Desktop.
Three.js Sahne oluşturma
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
| //burda sahnemizi oluşturuyoruz | |
| var scene = new THREE.Scene(); | |
| //burda camerayı oluşturuyoruz. | |
| var camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 ); | |
| //burda WebGL renderer oluşturuyoruz. | |
| var renderer = new THREE.WebGLRenderer(); renderer.setSize( window.innerWidth, window.innerHeight ); | |
| document.body.appendChild( renderer.domElement ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment