Home | History | Annotate | Download | only in dist

Lines Matching refs:mat3

497  * Transforms the vec2 with a mat3
502 * @param {mat3} m matrix to transform with
2076 * @name mat3
2079 var mat3 = {};
2082 * Creates a new identity mat3
2084 * @returns {mat3} a new 3x3 matrix
2086 mat3.create = function() {
2101 * Copies the upper-left 3x3 values into the given mat3.
2103 * @param {mat3} out the receiving 3x3 matrix
2105 * @returns {mat3} out
2107 mat3.fromMat4 = function(out, a) {
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
2126 mat3.clone = function(a) {
2141 * Copy the values from one mat3 to another
2143 * @param {mat3} out the receiving matrix
2144 * @param {mat3} a the source matrix
2145 * @returns {mat3} out
2147 mat3.copy = function(out, a) {
2161 * Set a mat3 to the identity matrix
2163 * @param {mat3} out the receiving matrix
2164 * @returns {mat3} out
2166 mat3.identity = function(out) {
2180 * Transpose the values of a mat3
2182 * @param {mat3} out the receiving matrix
2183 * @param {mat3} a the source matrix
2184 * @returns {mat3} out
2186 mat3.transpose = function(out, a) {
2212 * Inverts a mat3
2214 * @param {mat3} out the receiving matrix
2215 * @param {mat3} a the source matrix
2216 * @returns {mat3} out
2218 mat3.invert = function(out, a) {
2248 * Calculates the adjugate of a mat3
2250 * @param {mat3} out the receiving matrix
2251 * @param {mat3} a the source matrix
2252 * @returns {mat3} out
2254 mat3.adjoint = function(out, a) {
2272 * Calculates the determinant of a mat3
2274 * @param {mat3} a the source matrix
2277 mat3.determinant = function (a) {
2286 * Multiplies two mat3's
2288 * @param {mat3} out the receiving matrix
2289 * @param {mat3} a the first operand
2290 * @param {mat3} b the second operand
2291 * @returns {mat3} out
2293 mat3.multiply = function (out, a, b) {
2317 * Alias for {@link mat3.multiply}
2320 mat3.mul = mat3.multiply;
2323 * Translate a mat3 by the given vector
2325 * @param {mat3} out the receiving matrix
2326 * @param {mat3} a the matrix to translate
2328 * @returns {mat3} out
2330 mat3.translate = function(out, a, v) {
2351 * Rotates a mat3 by the given angle
2353 * @param {mat3} out the receiving matrix
2354 * @param {mat3} a the matrix to rotate
2356 * @returns {mat3} out
2358 mat3.rotate = function (out, a, rad) {
2381 * Scales the mat3 by the dimensions in the given vec2
2383 * @param {mat3} out the receiving matrix
2384 * @param {mat3} a the matrix to rotate
2386 * @returns {mat3} out
2388 mat3.scale = function(out, a, v) {
2406 * Copies the values from a mat2d into a mat3
2408 * @param {mat3} out the receiving matrix
2409 * @param {mat3} a the matrix to rotate
2411 * @returns {mat3} out
2413 mat3.fromMat2d = function(out, a) {
2431 * @param {mat3} out mat3 receiving operation result
2434 * @returns {mat3} out
2436 mat3.fromQuat = function (out, q) {
2468 * Returns a string representation of a mat3
2470 * @param {mat3} mat matrix to represent as a string
2473 mat3.str = function (a) {
2474 return 'mat3(' + a[0] + ', ' + a[1] + ', ' + a[2] + ', ' +
2480 exports.mat3 = mat3;
3795 * @param {mat3} m rotation matrix