Skip to content

Commit ff3479d

Browse files
authored
Update app.js
1 parent de2d6fc commit ff3479d

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

app.js

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*
12
import * as THREE from './Library/THREE/three.module.js';
23
import { OrbitControls } from './Library/THREE/jsm/OrbitControls.js';
34
import { GLTFLoader } from './Library/THREE/jsm/GLTFLoader.js';
@@ -168,13 +169,13 @@ class App {
168169
169170
ground() {
170171
//---------------------create ground plane: ----------------------------
171-
/*
172-
========================REFERENCES:===================================
173-
(using buffer geometry as its faster however harder to manipulate )
174-
1. how to manipulate buffer vertices: https://stackoverflow.com/questions/49956422/what-is-difference-between-boxbuffergeometry-vs-boxgeometry-in-three-js
175-
2. how to manipulate non buffer-plane vertices: https://grahamweldon.com/post/2012/01/3d-terrain-generation-with-three.js/
172+
173+
// ========================REFERENCES:===================================
174+
// (using buffer geometry as its faster however harder to manipulate )
175+
// 1. how to manipulate buffer vertices: https://stackoverflow.com/questions/49956422/what-is-difference-between-boxbuffergeometry-vs-boxgeometry-in-three-js
176+
// 2. how to manipulate non buffer-plane vertices: https://grahamweldon.com/post/2012/01/3d-terrain-generation-with-three.js/
176177
177-
*/
178+
178179
//********NOTE:******** typically webxr uses y-axis as pointing upwwards and z-axis as looking forwards as default
179180
180181
const groundDim = [8,0.8,8]; //w,h,depth
@@ -284,4 +285,5 @@ class App {
284285
285286
}
286287
287-
export { App };
288+
export { App };
289+
*/

0 commit comments

Comments
 (0)