Skip to content

Commit ec12d36

Browse files
committed
Build fixed.
1 parent 5116858 commit ec12d36

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function startApp() {
1414
let rotatePitch = 0;
1515
const rotateMax = Math.PI / 3;
1616
const rotateAmount = Math.PI / 4;
17-
let rotateYawPushed = false;
17+
//let rotateYawPushed = false;
1818
let pitchUpPushed = false;
1919
let pitchDownPushed = false;
2020

@@ -37,8 +37,8 @@ function startApp() {
3737
checkRotateDown(e.clientX, e.clientY, true);
3838
});
3939

40-
canvas.addEventListener('touchmove', (e) => {
41-
});
40+
// canvas.addEventListener('touchmove', (e) => {
41+
// });
4242

4343
canvas.addEventListener('touchend', (e) => {
4444
if (e.touches.length > 0) {

src/space.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ function vectorAdd(a: Vector3, b: Vector3): Vector3 {
99
return { x: a.x + b.x, y: a.y + b.y, z: a.z + b.z };
1010
}
1111

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+
// }
1515

1616
function vectorMultiplyScalar(a: Vector3, b: number): Vector3 {
1717
return { x: a.x * b, y: a.y * b, z: a.z * b };

0 commit comments

Comments
 (0)