kjerandp / linear-algebra

Lib for doing basic linear algebra https://kjerandp.github.io/linear-algebra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linear algebra

Math library for doing basic linear algebra operations, inspired by GLSL.

Installation

npm install --save @kjerandp/linear-algebra

Usage

The package exports an object containing all types and functions.

// es6
import { vec3, mat3, ... } from '@kjerandp/linear-algebra';

// commonjs
const lib = require('@kjerandp/linear-algebra');

const vec3 = lib.vec3;
const mat3 = lib.mat3;
(...)

See this live sample of usage or refer to the docs and tests for more details.

License

MIT

About

Lib for doing basic linear algebra https://kjerandp.github.io/linear-algebra

License:MIT License


Languages

Language:JavaScript 100.0%