{"_id":"gl-mat3","_rev":"22-f07d95fb00f19f837834a348cea35fb0","name":"gl-mat3","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"gl-mat3","version":"1.0.0","keywords":["gl-matrix","matrix","maths"],"license":{"url":"http://github.com/gl-modules/gl-mat3/blob/master/LICENSE.md","type":"zlib"},"_id":"gl-mat3@1.0.0","maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"contributors":[{"name":"Brandon Jones","email":"tojiro@gmail.com"},{"name":"Colin MacKenzie IV","email":"sinisterchipmunk@gmail.com"},{"url":"http://hughsk.io/","name":"Hugh Kennedy","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/gl-modules/gl-mat3","bugs":{"url":"https://github.com/gl-modules/gl-mat3/issues"},"dist":{"shasum":"89633219ca429379a16b9185d95d41713453b912","tarball":"https://registry.npmjs.org/gl-mat3/-/gl-mat3-1.0.0.tgz","integrity":"sha512-obeEq9y7xaDoVkwMGJNL1upwpYlPJiXJFhREaNytMqUdfHKHNna9HvImmLV8F8Ys6QOYwPPddptZNoiiec/XOg==","signatures":[{"sig":"MEQCID37jNHQdV9WiDfP5W31TSx6Vk5FoNRI4Q9PQIjQm+VJAiBVNy0FGUlfkNBJy5MLCzv/UJLn5AWYXDXrmrFSjWuiMQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"89633219ca429379a16b9185d95d41713453b912","gitHead":"0fca96c1e793fb79e66f8abc7c6fcb64ecac30d2","scripts":{"get-docs":"cat *.js | dox --api"},"_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"repository":{"url":"git://github.com/gl-modules/gl-mat3.git","type":"git"},"_npmVersion":"1.4.13","description":"gl-matrix's mat3, split into smaller pieces","directories":{},"dependencies":{},"devDependencies":{"dox":"git://github.com/hughsk/dox#api-context"}},"2.0.0":{"name":"gl-mat3","version":"2.0.0","keywords":["gl-matrix","matrix","maths"],"license":{"url":"http://github.com/gl-modules/gl-mat3/blob/master/LICENSE.md","type":"zlib"},"_id":"gl-mat3@2.0.0","maintainers":[{"name":"alvinsight","email":"alvinsight@gmail.com"},{"name":"chrisdickinson","email":"chris@neversaw.us"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"},{"name":"mikkoh","email":"me@mikkoh.com"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"rezaali","email":"syed.reza.ali@gmail.com"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"substack","email":"substack@gmail.com"},{"name":"tatumcreative","email":"tatum.creative@gmail.com"},{"name":"thibauts","email":"thibaut.seguy@gmail.com"},{"name":"wwwtyro","email":"wwwtyro@gmail.com"},{"name":"yoshuawuyts","email":"yoshuawuyts@gmail.com"}],"contributors":[{"name":"Brandon Jones","email":"tojiro@gmail.com"},{"name":"Colin MacKenzie IV","email":"sinisterchipmunk@gmail.com"},{"url":"http://hughsk.io/","name":"Hugh Kennedy","email":"hughskennedy@gmail.com"}],"homepage":"https://github.com/gl-modules/gl-mat3","bugs":{"url":"https://github.com/gl-modules/gl-mat3/issues"},"dist":{"shasum":"0a18d97bfdd57b1d777828286f05acb0fa880783","tarball":"https://registry.npmjs.org/gl-mat3/-/gl-mat3-2.0.0.tgz","fileCount":22,"integrity":"sha512-/RfKyizhztkG+gH07lA0/OI9uXVEqDrvjza1U8kZc3Sjvn/iT1a99jyL1WtLzXMn/BYp0geE2/DsNp9GCXp28Q==","signatures":[{"sig":"MEQCIAOBD5xa5EutXUjquNAOSrb9aK7ss1L8QKroi9q7/GKUAiBwVxBi5Hfcs2+PGytWLzgdkQtYOnJQX2zbRmI8KfcT7Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbYgAhCRA9TVsSAnZWagAAjecQAKDDAMLNZONUGQz5w11q\nrew5nGccYmCpzBOV8QMOp/7LZl6k9jIurEhak6aswFJdFz9raLBXjttjS0Ko\nQANGMfRlg9HcKQcmPayKAXLjRmGxPIR5nG1j9BGR8BYn1c39hAu5P17fih/b\nxD99+clNqh8DTSfzCCpkwF6jlbJ7dAe2jZHuj9adNFcVpr5nWyGHgwaPIUxe\nkC9j4BlUq5xZvQDyxMimk8cTL/0p1Iiskrg6oYbVaIMwfqvVfp0HpaC4S0yc\n93mhV7i6G88+55WLNy/feJ4b7mkj5myej7Wl+Z72zQL71FeGrlNBZEOvlY8D\nPkG7YMTdTnxIf1S8TOYlTW2ulI5CQtSK1WGuLtOp3pPEBfXyRIKVeIqEO5b0\nSYIM4Pdj60u/3/M5Yw0wHG4LqHGuljQVu4Je5L3VQ8r24oGLQrnCFF+F34Be\nZuZTz4IfO9UG+ncfQnvC1M6bCzClSD13RYA5xwNdGUhkyWCWTucZDxb0OPTh\nl5HbQDrd7uZv6oSslHuNFNGf1drqRmyB7o/EX4yb6jL5nCFgJPBHl7105gec\ncNc+C3LhvSOXng04K2b1hAynNHpw4eYo+lsYLr8IcSEnAh9Kc4DOpv2OzigD\nKFA3IhX5e5XPlvx+HtqYBHaKS1edaBDdwSGoMVHz7qN7zNP9nJiOrGQkJd0v\nAaIV\r\n=1PeI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"df6df371ab119fb0c9f2b428d3a4f8d05cd2119e","scripts":{"get-docs":"cat *.js | dox --api"},"_npmUser":{"name":"rreusser","email":"rsreusser@gmail.com"},"repository":{"url":"git://github.com/gl-modules/gl-mat3.git","type":"git"},"_npmVersion":"5.6.0","description":"gl-matrix's mat3, split into smaller pieces","directories":{},"_nodeVersion":"8.9.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"dox":"git://github.com/hughsk/dox.git#api-context"},"_npmOperationalInternal":{"tmp":"tmp/gl-mat3_2.0.0_1533149217213_0.37765535778440107","host":"s3://npm-registry-packages"}}},"time":{"created":"2014-07-17T10:00:14.554Z","modified":"2026-08-18T16:34:20.240Z","1.0.0":"2014-07-17T10:00:14.554Z","2.0.0":"2018-08-01T18:46:57.292Z"},"bugs":{"url":"https://github.com/gl-modules/gl-mat3/issues"},"license":{"url":"http://github.com/gl-modules/gl-mat3/blob/master/LICENSE.md","type":"zlib"},"homepage":"https://github.com/gl-modules/gl-mat3","keywords":["gl-matrix","matrix","maths"],"repository":{"url":"git://github.com/gl-modules/gl-mat3.git","type":"git"},"description":"gl-matrix's mat3, split into smaller pieces","contributors":[{"name":"Brandon Jones","email":"tojiro@gmail.com"},{"name":"Colin MacKenzie IV","email":"sinisterchipmunk@gmail.com"},{"url":"http://hughsk.io/","name":"Hugh Kennedy","email":"hughskennedy@gmail.com"}],"maintainers":[{"email":"mikolalysenko@gmail.com","name":"mikolalysenko"},{"email":"wwwtyro@gmail.com","name":"wwwtyro"},{"email":"thibaut.seguy@gmail.com","name":"thibauts"},{"email":"me@mikkoh.com","name":"mikkoh"},{"email":"dark.owl0753@fastmail.com","name":"yoshuawuyts"},{"email":"dave.des@gmail.com","name":"mattdesl"},{"email":"hughskennedy@gmail.com","name":"hughsk"},{"email":"chris@neversaw.us","name":"chrisdickinson"},{"email":"tatum.creative@gmail.com","name":"tatumcreative"},{"email":"rsreusser@gmail.com","name":"rreusser"},{"email":"alvinsight@gmail.com","name":"alvinsight"}],"readme":"# gl-mat3 [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\nPart of a fork of [@toji](http://github.com/toji)'s\n[gl-matrix](http://github.com/toji/gl-matrix) split into smaller pieces: this\npackage contains `glMatrix.mat3`.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/gl-mat3.png)](https://nodei.co/npm/gl-mat3/)\n\n### `mat3 = require('gl-mat3')`\n\nWill load all of the module's functionality and expose it on a single\nobject. Note that any of the methods may also be required directly\nfrom their files.\n\nFor example, the following are equivalent:\n\n``` javascript\nvar scale = require('gl-mat3').scale\nvar scale = require('gl-mat3/scale')\n```\n\n## API\n\n  - [mat3.adjoint()](#mat3adjointoutmat3amat3)\n  - [mat3.clone()](#mat3cloneamat3)\n  - [mat3.copy()](#mat3copyoutmat3amat3)\n  - [mat3.create()](#mat3create)\n  - [mat3.determinant()](#mat3determinantamat3)\n  - [mat3.frob()](#mat3frobamat3)\n  - [mat3.fromMat2d()](#mat3frommat2doutmat3amat2d)\n  - [mat3.fromMat4()](#mat3frommat4outmat3amat4)\n  - [mat3.fromQuat()](#mat3fromquatoutmat3qquat)\n  - [mat3.identity()](#mat3identityoutmat3)\n  - [mat3.invert()](#mat3invertoutmat3amat3)\n  - [mat3.multiply()](#mat3multiplyoutmat3amat3bmat3)\n  - [mat3.normalFromMat4()](#mat3normalfrommat4outmat3amat4)\n  - [mat3.rotate()](#mat3rotateoutmat3amat3radnumber)\n  - [mat3.scale()](#mat3scaleoutmat3amat3vvec2)\n  - [mat3.str()](#mat3strmatmat3)\n  - [mat3.translate()](#mat3translateoutmat3amat3vvec2)\n  - [mat3.transpose()](#mat3transposeoutmat3amat3)\n\n## mat3.adjoint(out:mat3, a:mat3)\n\n  Calculates the adjugate of a mat3\n\n## mat3.clone(a:mat3)\n\n  Creates a new mat3 initialized with values from an existing matrix\n\n## mat3.copy(out:mat3, a:mat3)\n\n  Copy the values from one mat3 to another\n\n## mat3.create()\n\n  Creates a new identity mat3\n\n## mat3.determinant(a:mat3)\n\n  Calculates the determinant of a mat3\n\n## mat3.frob(a:mat3)\n\n  Returns Frobenius norm of a mat3\n\n## mat3.fromMat2d(out:mat3, a:mat2d)\n\n  Copies the values from a mat2d into a mat3\n\n## mat3.fromMat4(out:mat3, a:mat4)\n\n  Copies the upper-left 3x3 values into the given mat3.\n\n## mat3.fromQuat(out:mat3, q:quat)\n\n  Calculates a 3x3 matrix from the given quaternion\n\n## mat3.identity(out:mat3)\n\n  Set a mat3 to the identity matrix\n\n## mat3.invert(out:mat3, a:mat3)\n\n  Inverts a mat3\n\n## mat3.multiply(out:mat3, a:mat3, b:mat3)\n\n  Multiplies two mat3's\n\n## mat3.normalFromMat4(out:mat3, a:mat4)\n\n  Calculates a 3x3 normal matrix (transpose inverse) from the 4x4 matrix\n\n## mat3.rotate(out:mat3, a:mat3, rad:Number)\n\n  Rotates a mat3 by the given angle\n\n## mat3.scale(out:mat3, a:mat3, v:vec2)\n\n  Scales the mat3 by the dimensions in the given vec2\n\n## mat3.str(mat:mat3)\n\n  Returns a string representation of a mat3\n\n## mat3.translate(out:mat3, a:mat3, v:vec2)\n\n  Translate a mat3 by the given vector\n\n## mat3.transpose(out:mat3, a:mat3)\n\n  Transpose the values of a mat3\n\n## License\n\n[zlib](http://en.wikipedia.org/wiki/Zlib_License). See [LICENSE.md](http://github.com/hughsk/gl-mat3/blob/master/LICENSE.md) for details.\n","readmeFilename":"README.md"}