MCPcopy
hub / github.com/toji/gl-matrix

github.com/toji/gl-matrix @v3.4.4 sqlite

repository ↗ · DeepWiki ↗ · release v3.4.4 ↗
370 symbols 491 edges 36 files 7 documented · 2%
README

glMatrix

NPM Version Build Status

JavaScript has evolved into a language capable of handling realtime 3D graphics, via WebGL, and computationally intensive tasks such as physics simulations. These types of applications demand high performance vector and matrix math, which is something that JavaScript doesn't provide by default. glMatrix to the rescue!

glMatrix is designed to perform vector and matrix operations stupidly fast! By hand-tuning each function for maximum performance and encouraging efficient usage patterns through API conventions, glMatrix will help you get the most out of your browser's JavaScript engine.

Learn More

For documentation and news, visit the glMatrix Homepage

For a tutorial, see the "Introducing glMatrix" section of Introduction to Computer Graphics by David J. Eck

For a babel plugin to make writing the API nicer, see babel-plugin-transform-gl-matrix

Regarding the current performance in modern web browsers, calling glMatrix.setMatrixArrayType(Array) to use normal arrays instead of Float32Arrays can greatly increase the performance.

Contributing Guidelines

See CONTRIBUTING.md

Building

See BUILDING.md

Extension points exported contracts — how you extend this code

IndexedCollection (Interface)
(no doc)
src/types.d.ts

Core symbols most depended-on inside this repo

addEventListener
called by 29
docs/v4/assets/main.js
k
called by 15
docs/scripts/prettify/prettify.js
u
called by 11
docs/scripts/prettify/prettify.js
e
called by 8
docs/scripts/prettify/prettify.js
x
called by 5
docs/scripts/prettify/prettify.js
fromLocalStorage
called by 5
docs/v4/assets/main.js
expected
called by 5
spec/helpers/spec-helper.js
dot
called by 4
src/vec3.js

Shape

Function 341
Method 26
Class 2
Interface 1

Languages

TypeScript100%

Modules by API surface

src/mat4.js48 symbols
docs/v4/assets/main.js48 symbols
src/vec3.js41 symbols
src/vec2.js38 symbols
src/vec4.js33 symbols
src/quat2.js31 symbols
src/mat3.js30 symbols
src/mat2.js24 symbols
src/mat2d.js23 symbols
src/quat.js21 symbols
docs/scripts/prettify/prettify.js14 symbols
jsdoc-template/publish.js10 symbols

Dependencies from manifests, versioned

@babel/cli7.14.3 · 1×
@babel/core7.14.3 · 1×
@babel/preset-env7.14.3 · 1×
@babel/register7.13.16 · 1×
@rollup/plugin-babel5.3.0 · 1×
del-cli3.0.0 · 1×
jsdoc3.6.7 · 1×
mocha8.4.0 · 1×
node-libs-browser2.2.1 · 1×
rollup2.50.5 · 1×
rollup-plugin-size-snapshot0.12.0 · 1×
rollup-plugin-terser7.0.2 · 1×

For agents

$ claude mcp add gl-matrix \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact