matrix-create

v1.0.0
Create a flattened webgl friendly matrix
matrix create webgl canvas

matrix-create Build Status

Returns a flattened row x column matrix

Install

$ npm install --save matrix-create

Usage

var mCreate = require('matrix-create')

var matrix4x4 = mCreate()

console.log(matrix4x4)
/*
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] // 16 zeros
*/

License

(c) 2015 Chinedu Francis Nwafili. MIT License

npm i matrix-create

Metadata

  • MIT
  • Whatever
  • Chinedu Francis Nwafili
  • released 7/6/2015

Downloads

Maintainers