{"version":"4.0.0-beta.2","name":"gl-matrix","description":"Javascript Matrix and Vector library for High Performance 3D web apps","private":false,"sideEffects":false,"type":"module","main":"./dist/esm/index.js","module":"./dist/esm/index.js","exports":{".":"./dist/esm/index.js","./common":"./dist/esm/common.js","./mat2":"./dist/esm/mat2.js","./mat2d":"./dist/esm/mat2d.js","./mat3":"./dist/esm/mat3.js","./mat4":"./dist/esm/mat4.js","./quat":"./dist/esm/quat.js","./quat2":"./dist/esm/quat2.js","./vec2":"./dist/esm/vec2.js","./vec3":"./dist/esm/vec3.js","./vec4":"./dist/esm/vec4.js","./f64":"./dist/esm/f64/index.js","./f64/common":"./dist/esm/f64/common.js","./f64/mat2":"./dist/esm/f64/mat2.js","./f64/mat2d":"./dist/esm/f64/mat2d.js","./f64/mat3":"./dist/esm/f64/mat3.js","./f64/mat4":"./dist/esm/f64/mat4.js","./f64/quat":"./dist/esm/f64/quat.js","./f64/quat2":"./dist/esm/f64/quat2.js","./f64/vec2":"./dist/esm/f64/vec2.js","./f64/vec3":"./dist/esm/f64/vec3.js","./f64/vec4":"./dist/esm/f64/vec4.js"},"types":"./dist/esm/index.d.ts","homepage":"http://glmatrix.net","license":"MIT","bugs":{"url":"https://github.com/toji/gl-matrix/issues"},"repository":{"type":"git","url":"git+https://github.com/toji/gl-matrix.git"},"contributors":[{"name":"Brandon Jones","email":"tojiro@gmail.com"},{"name":"Colin MacKenzie IV","email":"sinisterchipmunk@gmail.com"}],"scripts":{"build":"tsc","build-docs":"typedoc src/index.ts","gen64":"node scripts/gen-f64.mjs","build64":"npm run gen64 && tsc --project tsconfig64.json","bundle":"node scripts/bundle.mjs","build-all":"npm run build && npm run build64 && npm run build-docs && npm run bundle","watch":"tsc --watch","test":"npm run gen64 && vitest run"},"devDependencies":{"esbuild":"^0.15.15","typedoc":"^0.23.21","typescript":"^5.0.0","vitest":"^0.25.8"},"_id":"gl-matrix@4.0.0-beta.2","readme":"## Fast, flexible vector and matrix math for JavaScript\n\n[![NPM Version](https://img.shields.io/npm/v/gl-matrix.svg)](https://www.npmjs.com/package/gl-matrix)\n[![Build Status](https://travis-ci.org/toji/gl-matrix.svg)](https://travis-ci.org/toji/gl-matrix)\n\nglMatrix is a high performance, very flexible library for vector and matrix operations in JavaScript/TypeScript, designed for the needs of realtime 3D graphics APIs like WebGL and WebGPU.\n\n## Docs\n\nDocumentation is available at [https://glmatrix.net/docs/v4/](https://glmatrix.net/docs/v4/)\n\n## Using Float64Array\n\nIf your use case requires additional precision beyond the default 32-bit floats used by default, you can instead use a 64-bit verions of the library by importing from the `f64/` directory of your chosen build type. For example:\n\n```js\nimport { Vec3 } from './gl-matrix/dist/esm/f64/vec3.js';\n```\n\nIf you have a need to mix and match the 64 bit and 32 bit versions, you can do so by importing them as different names:\n\n```js\nimport { Vec3 as Vec3F32 } from './gl-matrix/dist/esm/vec3.js';\nimport { Vec3 as Vec3F64 } from './gl-matrix/dist/esm/f64/vec3.js';\n```\n\nAll API calls are identical between the two versions, the only difference is the type of TypedArray which the classes extend.","readmeFilename":"README.md","gitHead":"16a945609727d26cf4283000d494cae7bdfe56e7","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-OF6IkQpMkF8p2CZF9EtzYZPlPaW3M41KMsgZGlTKmMv/nWaP6GMJi9V5tI+oPn8FG0io85Q5ZtKpCXP4u6YmDA==","shasum":"04148276cd8f130b65d28c1e4e5caa0d947537e2","tarball":"http://registry-npm.ywwl.com/gl-matrix/download/gl-matrix-4.0.0-beta.2.tgz","fileCount":43,"unpackedSize":1664249,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwLmLLA8ZMLu6iUvcAED+npiYsdlIot70wPIySf7mjgQIhALRkbQ16A2FkFwsviEVNG5dBw8JMjm+mRrY1NPqvMuQJ"}],"size":209698,"noattachment":false,"key":"/gl-matrix/-/gl-matrix-4.0.0-beta.2.tgz"},"_npmUser":{"name":"toji","email":"tojiro@gmail.com"},"directories":{},"maintainers":[{"name":"toji","email":"tojiro@gmail.com"},{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"stefnotch","email":"brandmairstefan+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gl-matrix_4.0.0-beta.2_1713119619592_0.1713051948517137"},"_hasShrinkwrap":false,"publish_time":1713119619826,"_cnpm_publish_time":1713119619826,"dist-tags":{"beta":"4.0.0-beta.2","latest":"3.4.4","next":"3.0.0-0"}}