File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,6 @@ InputTracker.ENTER=13;
450450InputTracker . TAB = 9 ;
451451InputTracker . SHIFT = 16 ;
452452InputTracker . CTRL = 17 ;
453- InputTracker . ALT = 18 ;
454453InputTracker . ESC = 27 ;
455454InputTracker . SPACE = 32 ;
456455InputTracker . PAGEUP = 33 ;
Original file line number Diff line number Diff line change @@ -75,28 +75,6 @@ return [a[1]*b[2]-a[2]*b[1],
7575vec3dot :function ( a , b ) {
7676return 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
You can’t perform that action at this time.
0 commit comments