Skip to content

Commit 5ec94d0

Browse files
committed
Remove added features for version 1.2.1
1 parent ed8a302 commit 5ec94d0

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

camera.js

-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,6 @@ InputTracker.ENTER=13;
450450
InputTracker.TAB=9;
451451
InputTracker.SHIFT=16;
452452
InputTracker.CTRL=17;
453-
InputTracker.ALT=18;
454453
InputTracker.ESC=27;
455454
InputTracker.SPACE=32;
456455
InputTracker.PAGEUP=33;

glmath.js

-22
Original file line numberDiff line numberDiff line change
@@ -75,28 +75,6 @@ return [a[1]*b[2]-a[2]*b[1],
7575
vec3dot:function(a,b){
7676
return a[0]*b[0]+a[1]*b[1]+a[2]*b[2];
7777
},
78-
/**
79-
* Adds two 3-element vectors and returns a new
80-
* vector with the result. Adding two vectors
81-
* is the same as adding each of their components.
82-
* @param {Array<number>} a The first 3-element vector.
83-
* @param {Array<number>} b The second 3-element vector.
84-
* @return {Array<number>} The resulting 3-element vector.
85-
*/
86-
vec3add:function(a,b){
87-
return [a[0]+b[0],a[1]+b[1],a[2]+b[2]];
88-
},
89-
/**
90-
* Subtracts two 3-element vectors and returns a new
91-
* vector with the result. Subtracting two vectors
92-
* is the same as subtracting each of their components.
93-
* @param {Array<number>} a The first 3-element vector.
94-
* @param {Array<number>} b The second 3-element vector.
95-
* @return {Array<number>} The resulting 3-element vector.
96-
*/
97-
vec3sub:function(a,b){
98-
return [a[0]-b[0],a[1]-b[1],a[2]-b[2]];
99-
},
10078
/**
10179
* Adds two 3-element vectors and stores
10280
* the result in the first vector. Adding two vectors

0 commit comments

Comments
 (0)