File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function startApp() {
14
14
let rotatePitch = 0 ;
15
15
const rotateMax = Math . PI / 3 ;
16
16
const rotateAmount = Math . PI / 4 ;
17
- let rotateYawPushed = false ;
17
+ // let rotateYawPushed = false;
18
18
let pitchUpPushed = false ;
19
19
let pitchDownPushed = false ;
20
20
@@ -37,8 +37,8 @@ function startApp() {
37
37
checkRotateDown ( e . clientX , e . clientY , true ) ;
38
38
} ) ;
39
39
40
- canvas . addEventListener ( 'touchmove' , ( e ) => {
41
- } ) ;
40
+ // canvas.addEventListener('touchmove', (e) => {
41
+ // });
42
42
43
43
canvas . addEventListener ( 'touchend' , ( e ) => {
44
44
if ( e . touches . length > 0 ) {
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ function vectorAdd(a: Vector3, b: Vector3): Vector3 {
9
9
return { x : a . x + b . x , y : a . y + b . y , z : a . z + b . z } ;
10
10
}
11
11
12
- function vectorSubtract ( a : Vector3 , b : Vector3 ) : Vector3 {
13
- return { x : a . x - b . x , y : a . y - b . y , z : a . z - b . z } ;
14
- }
12
+ // function vectorSubtract(a: Vector3, b: Vector3): Vector3 {
13
+ // return { x: a.x - b.x, y: a.y - b.y, z: a.z - b.z };
14
+ // }
15
15
16
16
function vectorMultiplyScalar ( a : Vector3 , b : number ) : Vector3 {
17
17
return { x : a . x * b , y : a . y * b , z : a . z * b } ;
You can’t perform that action at this time.
0 commit comments