Lines Matching full:matrix
2 * @fileoverview gl-matrix - High performance matrix and vector operations
42 // gl-matrix lives in a browser, define its namespaces in global
47 // gl-matrix lives in commonjs, define its namespaces in exports
469 * @param {mat2} m matrix to transform with
485 * @param {mat2d} m matrix to transform with
502 * @param {mat3} m matrix to transform with
520 * @param {mat4} m matrix to transform with
979 * @param {mat4} m matrix to transform with
1466 * @param {mat4} m matrix to transform with
1581 * @class 2x2 Matrix
1590 * @returns {mat2} a new 2x2 matrix
1602 * Creates a new mat2 initialized with values from an existing matrix
1604 * @param {mat2} a matrix to clone
1605 * @returns {mat2} a new 2x2 matrix
1619 * @param {mat2} out the receiving matrix
1620 * @param {mat2} a the source matrix
1632 * Set a mat2 to the identity matrix
1634 * @param {mat2} out the receiving matrix
1648 * @param {mat2} out the receiving matrix
1649 * @param {mat2} a the source matrix
1671 * @param {mat2} out the receiving matrix
1672 * @param {mat2} a the source matrix
1697 * @param {mat2} out the receiving matrix
1698 * @param {mat2} a the source matrix
1715 * @param {mat2} a the source matrix
1725 * @param {mat2} out the receiving matrix
1749 * @param {mat2} out the receiving matrix
1750 * @param {mat2} a the matrix to rotate
1751 * @param {Number} rad the angle to rotate the matrix by
1768 * @param {mat2} out the receiving matrix
1769 * @param {mat2} a the matrix to rotate
1770 * @param {vec2} v the vec2 to scale the matrix by
1786 * @param {mat2} mat matrix to represent as a string
1787 * @returns {String} string representation of the matrix
1820 * @class 2x3 Matrix
1830 * This is a short form for the 3x3 matrix:
1844 * @returns {mat2d} a new 2x3 matrix
1858 * Creates a new mat2d initialized with values from an existing matrix
1860 * @param {mat2d} a matrix to clone
1861 * @returns {mat2d} a new 2x3 matrix
1877 * @param {mat2d} out the receiving matrix
1878 * @param {mat2d} a the source matrix
1892 * Set a mat2d to the identity matrix
1894 * @param {mat2d} out the receiving matrix
1910 * @param {mat2d} out the receiving matrix
1911 * @param {mat2d} a the source matrix
1936 * @param {mat2d} a the source matrix
1946 * @param {mat2d} out the receiving matrix
1976 * @param {mat2d} out the receiving matrix
1977 * @param {mat2d} a the matrix to rotate
1978 * @param {Number} rad the angle to rotate the matrix by
2003 * @param {mat2d} out the receiving matrix
2004 * @param {mat2d} a the matrix to translate
2005 * @param {mat2d} v the vec2 to scale the matrix by
2022 * @param {mat2d} out the receiving matrix
2023 * @param {mat2d} a the matrix to translate
2024 * @param {mat2d} v the vec2 to translate the matrix by
2040 * @param {mat2d} a matrix to represent as a string
2041 * @returns {String} string representation of the matrix
2075 * @class 3x3 Matrix
2084 * @returns {mat3} a new 3x3 matrix
2103 * @param {mat3} out the receiving 3x3 matrix
2104 * @param {mat4} a the source 4x4 matrix
2121 * Creates a new mat3 initialized with values from an existing matrix
2123 * @param {mat3} a matrix to clone
2124 * @returns {mat3} a new 3x3 matrix
2143 * @param {mat3} out the receiving matrix
2144 * @param {mat3} a the source matrix
2161 * Set a mat3 to the identity matrix
2163 * @param {mat3} out the receiving matrix
2182 * @param {mat3} out the receiving matrix
2183 * @param {mat3} a the source matrix
2214 * @param {mat3} out the receiving matrix
2215 * @param {mat3} a the source matrix
2250 * @param {mat3} out the receiving matrix
2251 * @param {mat3} a the source matrix
2274 * @param {mat3} a the source matrix
2288 * @param {mat3} out the receiving matrix
2325 * @param {mat3} out the receiving matrix
2326 * @param {mat3} a the matrix to translate
2353 * @param {mat3} out the receiving matrix
2354 * @param {mat3} a the matrix to rotate
2355 * @param {Number} rad the angle to rotate the matrix by
2383 * @param {mat3} out the receiving matrix
2384 * @param {mat3} a the matrix to rotate
2385 * @param {vec2} v the vec2 to scale the matrix by
2408 * @param {mat3} out the receiving matrix
2409 * @param {mat3} a the matrix to rotate
2410 * @param {vec2} v the vec2 to scale the matrix by
2429 * Calculates a 3x3 matrix from the given quaternion
2432 * @param {quat} q Quaternion to create matrix from
2470 * @param {mat3} mat matrix to represent as a string
2471 * @returns {String} string representation of the matrix
2506 * @class 4x4 Matrix
2515 * @returns {mat4} a new 4x4 matrix
2539 * Creates a new mat4 initialized with values from an existing matrix
2541 * @param {mat4} a matrix to clone
2542 * @returns {mat4} a new 4x4 matrix
2568 * @param {mat4} out the receiving matrix
2569 * @param {mat4} a the source matrix
2593 * Set a mat4 to the identity matrix
2595 * @param {mat4} out the receiving matrix
2621 * @param {mat4} out the receiving matrix
2622 * @param {mat4} a the source matrix
2669 * @param {mat4} out the receiving matrix
2670 * @param {mat4} a the source matrix
2723 * @param {mat4} out the receiving matrix
2724 * @param {mat4} a the source matrix
2755 * @param {mat4} a the source matrix
2784 * @param {mat4} out the receiving matrix
2795 // Cache only the current line of the second matrix
2831 * @param {mat4} out the receiving matrix
2832 * @param {mat4} a the matrix to translate
2868 * @param {mat4} out the receiving matrix
2869 * @param {mat4} a the matrix to scale
2870 * @param {vec3} v the vec3 to scale the matrix by
2898 * @param {mat4} out the receiving matrix
2899 * @param {mat4} a the matrix to rotate
2900 * @param {Number} rad the angle to rotate the matrix by
2930 // Construct the elements of the rotation matrix
2935 // Perform rotation-specific matrix multiplication
2959 * Rotates a matrix by the given angle around the X axis
2961 * @param {mat4} out the receiving matrix
2962 * @param {mat4} a the matrix to rotate
2963 * @param {Number} rad the angle to rotate the matrix by
2989 // Perform axis-specific matrix multiplication
3002 * Rotates a matrix by the given angle around the Y axis
3004 * @param {mat4} out the receiving matrix
3005 * @param {mat4} a the matrix to rotate
3006 * @param {Number} rad the angle to rotate the matrix by
3032 // Perform axis-specific matrix multiplication
3045 * Rotates a matrix by the given angle around the Z axis
3047 * @param {mat4} out the receiving matrix
3048 * @param {mat4} a the matrix to rotate
3049 * @param {Number} rad the angle to rotate the matrix by
3075 // Perform axis-specific matrix multiplication
3088 * Creates a matrix from a quaternion rotation and vector translation
3140 * Calculates a 4x4 matrix from the given quaternion
3143 * @param {quat} q Quaternion to create matrix from
3187 * Generates a frustum matrix with the given bounds
3189 * @param {mat4} out mat4 frustum matrix will be written into
3222 * Generates a perspective projection matrix with the given bounds
3224 * @param {mat4} out mat4 frustum matrix will be written into
3254 * Generates a orthogonal projection matrix with the given bounds
3256 * @param {mat4} out mat4 frustum matrix will be written into
3289 * Generates a look-at matrix with the given eye position, focal point, and up axis
3291 * @param {mat4} out mat4 frustum matrix will be written into
3378 * @param {mat4} mat matrix to represent as a string
3379 * @returns {String} string representation of the matrix
3792 * Creates a quaternion from the given 3x3 rotation matrix.
3795 * @param {mat3} m rotation matrix