{"id":20778182,"url":"https://github.com/stackgl/gl-mat3","last_synced_at":"2025-04-30T18:42:11.191Z","repository":{"id":18725956,"uuid":"21937206","full_name":"stackgl/gl-mat3","owner":"stackgl","description":"gl-matrix's mat3, split into smaller pieces","archived":false,"fork":false,"pushed_at":"2018-08-01T18:43:55.000Z","size":9,"stargazers_count":18,"open_issues_count":1,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-30T18:51:09.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-17T10:00:38.000Z","updated_at":"2024-12-20T20:31:40.000Z","dependencies_parsed_at":"2022-07-22T18:49:00.243Z","dependency_job_id":null,"html_url":"https://github.com/stackgl/gl-mat3","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackgl%2Fgl-mat3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackgl%2Fgl-mat3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackgl%2Fgl-mat3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackgl%2Fgl-mat3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackgl","download_url":"https://codeload.github.com/stackgl/gl-mat3/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251764457,"owners_count":21640064,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T13:19:46.573Z","updated_at":"2025-04-30T18:42:11.149Z","avatar_url":"https://github.com/stackgl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackgl%2Fgl-mat3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackgl%2Fgl-mat3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackgl%2Fgl-mat3/lists"}