format
This commit is contained in:
parent
2075429566
commit
5e12aea559
BIN
img/ground.jpg
BIN
img/ground.jpg
Binary file not shown.
Before Width: | Height: | Size: 329 KiB |
4
main.js
4
main.js
@ -256,6 +256,8 @@ maze.receiveShadow = true;
|
|||||||
maze.matrixAutoUpdate = false
|
maze.matrixAutoUpdate = false
|
||||||
scene.add(maze)
|
scene.add(maze)
|
||||||
|
|
||||||
|
console.log(String(maze))
|
||||||
|
|
||||||
const wall = new THREE.Mesh( maze.geometry );
|
const wall = new THREE.Mesh( maze.geometry );
|
||||||
let matrix = new THREE.Matrix4()
|
let matrix = new THREE.Matrix4()
|
||||||
for ( let i=0; i<maze.count; i++ ) {
|
for ( let i=0; i<maze.count; i++ ) {
|
||||||
@ -265,8 +267,6 @@ for ( let i=0; i<maze.count; i++ ) {
|
|||||||
worldOctree.fromGraphNode( clone )
|
worldOctree.fromGraphNode( clone )
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(String(maze))
|
|
||||||
|
|
||||||
// debug
|
// debug
|
||||||
|
|
||||||
let stats, octreeHelper, gui
|
let stats, octreeHelper, gui
|
||||||
|
Loading…
x
Reference in New Issue
Block a user