Skip to content

Commit 46661b6

Browse files
committed
Rebuild doc
1 parent cf27409 commit 46661b6

21 files changed

Lines changed: 783 additions & 780 deletions

docs/common.js.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ <h1 class="page-title">Source: common.js</h1>
3939
/**
4040
* Sets the type of array used when creating new vectors and matrices
4141
*
42-
* @param {Type} type Array type, such as Float32Array or Array
42+
* @param {Float32ArrayConstructor | ArrayConstructor} type Array type, such as Float32Array or Array
4343
*/
4444
export function setMatrixArrayType(type) {
4545
ARRAY_TYPE = type;
@@ -90,7 +90,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-gl
9090
<br class="clear">
9191

9292
<footer>
93-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Fri Feb 14 2020 09:28:42 GMT+0100 (Central European Standard Time)
93+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Wed Apr 01 2020 11:00:40 GMT+0200 (Central European Summer Time)
9494
</footer>
9595

9696
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-gl
5656
<br class="clear">
5757

5858
<footer>
59-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Fri Feb 14 2020 09:28:42 GMT+0100 (Central European Standard Time)
59+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Wed Apr 01 2020 11:00:40 GMT+0200 (Central European Summer Time)
6060
</footer>
6161

6262
<script> prettyPrint(); </script>

docs/mat2.js.html

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ <h1 class="page-title">Source: mat2.js</h1>
5252
/**
5353
* Creates a new mat2 initialized with values from an existing matrix
5454
*
55-
* @param {mat2} a matrix to clone
55+
* @param {ReadonlyMat2} a matrix to clone
5656
* @returns {mat2} a new 2x2 matrix
5757
*/
5858
export function clone(a) {
@@ -68,7 +68,7 @@ <h1 class="page-title">Source: mat2.js</h1>
6868
* Copy the values from one mat2 to another
6969
*
7070
* @param {mat2} out the receiving matrix
71-
* @param {mat2} a the source matrix
71+
* @param {ReadonlyMat2} a the source matrix
7272
* @returns {mat2} out
7373
*/
7474
export function copy(out, a) {
@@ -133,7 +133,7 @@ <h1 class="page-title">Source: mat2.js</h1>
133133
* Transpose the values of a mat2
134134
*
135135
* @param {mat2} out the receiving matrix
136-
* @param {mat2} a the source matrix
136+
* @param {ReadonlyMat2} a the source matrix
137137
* @returns {mat2} out
138138
*/
139139
export function transpose(out, a) {
@@ -157,7 +157,7 @@ <h1 class="page-title">Source: mat2.js</h1>
157157
* Inverts a mat2
158158
*
159159
* @param {mat2} out the receiving matrix
160-
* @param {mat2} a the source matrix
160+
* @param {ReadonlyMat2} a the source matrix
161161
* @returns {mat2} out
162162
*/
163163
export function invert(out, a) {
@@ -186,7 +186,7 @@ <h1 class="page-title">Source: mat2.js</h1>
186186
* Calculates the adjugate of a mat2
187187
*
188188
* @param {mat2} out the receiving matrix
189-
* @param {mat2} a the source matrix
189+
* @param {ReadonlyMat2} a the source matrix
190190
* @returns {mat2} out
191191
*/
192192
export function adjoint(out, a) {
@@ -203,7 +203,7 @@ <h1 class="page-title">Source: mat2.js</h1>
203203
/**
204204
* Calculates the determinant of a mat2
205205
*
206-
* @param {mat2} a the source matrix
206+
* @param {ReadonlyMat2} a the source matrix
207207
* @returns {Number} determinant of a
208208
*/
209209
export function determinant(a) {
@@ -214,8 +214,8 @@ <h1 class="page-title">Source: mat2.js</h1>
214214
* Multiplies two mat2's
215215
*
216216
* @param {mat2} out the receiving matrix
217-
* @param {mat2} a the first operand
218-
* @param {mat2} b the second operand
217+
* @param {ReadonlyMat2} a the first operand
218+
* @param {ReadonlyMat2} b the second operand
219219
* @returns {mat2} out
220220
*/
221221
export function multiply(out, a, b) {
@@ -238,7 +238,7 @@ <h1 class="page-title">Source: mat2.js</h1>
238238
* Rotates a mat2 by the given angle
239239
*
240240
* @param {mat2} out the receiving matrix
241-
* @param {mat2} a the matrix to rotate
241+
* @param {ReadonlyMat2} a the matrix to rotate
242242
* @param {Number} rad the angle to rotate the matrix by
243243
* @returns {mat2} out
244244
*/
@@ -260,8 +260,8 @@ <h1 class="page-title">Source: mat2.js</h1>
260260
* Scales the mat2 by the dimensions in the given vec2
261261
*
262262
* @param {mat2} out the receiving matrix
263-
* @param {mat2} a the matrix to rotate
264-
* @param {vec2} v the vec2 to scale the matrix by
263+
* @param {ReadonlyMat2} a the matrix to rotate
264+
* @param {ReadonlyVec2} v the vec2 to scale the matrix by
265265
* @returns {mat2} out
266266
**/
267267
export function scale(out, a, v) {
@@ -307,7 +307,7 @@ <h1 class="page-title">Source: mat2.js</h1>
307307
* mat2.scale(dest, dest, vec);
308308
*
309309
* @param {mat2} out mat2 receiving operation result
310-
* @param {vec2} v Scaling vector
310+
* @param {ReadonlyVec2} v Scaling vector
311311
* @returns {mat2} out
312312
*/
313313
export function fromScaling(out, v) {
@@ -321,7 +321,7 @@ <h1 class="page-title">Source: mat2.js</h1>
321321
/**
322322
* Returns a string representation of a mat2
323323
*
324-
* @param {mat2} a matrix to represent as a string
324+
* @param {ReadonlyMat2} a matrix to represent as a string
325325
* @returns {String} string representation of the matrix
326326
*/
327327
export function str(a) {
@@ -331,7 +331,7 @@ <h1 class="page-title">Source: mat2.js</h1>
331331
/**
332332
* Returns Frobenius norm of a mat2
333333
*
334-
* @param {mat2} a the matrix to calculate Frobenius norm of
334+
* @param {ReadonlyMat2} a the matrix to calculate Frobenius norm of
335335
* @returns {Number} Frobenius norm
336336
*/
337337
export function frob(a) {
@@ -340,10 +340,10 @@ <h1 class="page-title">Source: mat2.js</h1>
340340

341341
/**
342342
* Returns L, D and U matrices (Lower triangular, Diagonal and Upper triangular) by factorizing the input matrix
343-
* @param {mat2} L the lower triangular matrix
344-
* @param {mat2} D the diagonal matrix
345-
* @param {mat2} U the upper triangular matrix
346-
* @param {mat2} a the input matrix to factorize
343+
* @param {ReadonlyMat2} L the lower triangular matrix
344+
* @param {ReadonlyMat2} D the diagonal matrix
345+
* @param {ReadonlyMat2} U the upper triangular matrix
346+
* @param {ReadonlyMat2} a the input matrix to factorize
347347
*/
348348

349349
export function LDU(L, D, U, a) {
@@ -358,8 +358,8 @@ <h1 class="page-title">Source: mat2.js</h1>
358358
* Adds two mat2's
359359
*
360360
* @param {mat2} out the receiving matrix
361-
* @param {mat2} a the first operand
362-
* @param {mat2} b the second operand
361+
* @param {ReadonlyMat2} a the first operand
362+
* @param {ReadonlyMat2} b the second operand
363363
* @returns {mat2} out
364364
*/
365365
export function add(out, a, b) {
@@ -374,8 +374,8 @@ <h1 class="page-title">Source: mat2.js</h1>
374374
* Subtracts matrix b from matrix a
375375
*
376376
* @param {mat2} out the receiving matrix
377-
* @param {mat2} a the first operand
378-
* @param {mat2} b the second operand
377+
* @param {ReadonlyMat2} a the first operand
378+
* @param {ReadonlyMat2} b the second operand
379379
* @returns {mat2} out
380380
*/
381381
export function subtract(out, a, b) {
@@ -389,8 +389,8 @@ <h1 class="page-title">Source: mat2.js</h1>
389389
/**
390390
* Returns whether or not the matrices have exactly the same elements in the same position (when compared with ===)
391391
*
392-
* @param {mat2} a The first matrix.
393-
* @param {mat2} b The second matrix.
392+
* @param {ReadonlyMat2} a The first matrix.
393+
* @param {ReadonlyMat2} b The second matrix.
394394
* @returns {Boolean} True if the matrices are equal, false otherwise.
395395
*/
396396
export function exactEquals(a, b) {
@@ -400,8 +400,8 @@ <h1 class="page-title">Source: mat2.js</h1>
400400
/**
401401
* Returns whether or not the matrices have approximately the same elements in the same position.
402402
*
403-
* @param {mat2} a The first matrix.
404-
* @param {mat2} b The second matrix.
403+
* @param {ReadonlyMat2} a The first matrix.
404+
* @param {ReadonlyMat2} b The second matrix.
405405
* @returns {Boolean} True if the matrices are equal, false otherwise.
406406
*/
407407
export function equals(a, b) {
@@ -429,7 +429,7 @@ <h1 class="page-title">Source: mat2.js</h1>
429429
* Multiply each element of the matrix by a scalar.
430430
*
431431
* @param {mat2} out the receiving matrix
432-
* @param {mat2} a the matrix to scale
432+
* @param {ReadonlyMat2} a the matrix to scale
433433
* @param {Number} b amount to scale the matrix's elements by
434434
* @returns {mat2} out
435435
*/
@@ -445,8 +445,8 @@ <h1 class="page-title">Source: mat2.js</h1>
445445
* Adds two mat2's after multiplying each element of the second operand by a scalar value.
446446
*
447447
* @param {mat2} out the receiving vector
448-
* @param {mat2} a the first operand
449-
* @param {mat2} b the second operand
448+
* @param {ReadonlyMat2} a the first operand
449+
* @param {ReadonlyMat2} b the second operand
450450
* @param {Number} scale the amount to scale b's elements by before adding
451451
* @returns {mat2} out
452452
*/
@@ -485,7 +485,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-gl
485485
<br class="clear">
486486

487487
<footer>
488-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Fri Feb 14 2020 09:28:42 GMT+0100 (Central European Standard Time)
488+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Wed Apr 01 2020 11:00:40 GMT+0200 (Central European Summer Time)
489489
</footer>
490490

491491
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)