Created
November 14, 2018 13:21
-
-
Save pedroribeirodev/f0a55a98649f1fa8144b772953ab8dee 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
//Substituir linha 504 a 512 | |
var FLOOR = new THREE.Mesh( new THREE.PlaneGeometry( 2048, 2048, 4, 4 ), getTexture("FLOOR") ); | |
FLOOR.position.set( -92.5, 0, -2048/2 ); | |
FLOOR.rotation.set( 0, DegToRad(-90), 0); | |
scene.add( FLOOR ); | |
var CEILING = new THREE.Mesh( new THREE.PlaneGeometry( 2048, 2048, 4, 4 ), getTexture("CEILING") ); | |
CEILING.position.set( -92.5, wallHeight, -2048/2 ); | |
CEILING.rotation.set( DegToRad(180), DegToRad(-90), 0 ); | |
scene.add( CEILING ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment