/amo.gl

toolkit for native webgl

Primary LanguageJavaScriptMIT LicenseMIT

amo.gl

Toolkit for native webgl, most of them were collected from Internet. cuon-matrix.js and cuon-utils.js copyright@2012 kanda and matsuda.

Installation

npm install amo.gl

Getting Started

const initShaders = require('amo.gl').initShaders;
const Matrix4 = require('amo.gl').Matrix4;

initShaders(gl, vertexSource, fragmentSource);
let mvpMatrix = new Matrix4();