tubugl-helper

1.2.0 • Public • Published

tubugl-helper

NPM version

helper tool for tubugl

install

To install it with npm:

npm install tubugl-helper

To install it with yarn:

yarn add tubugl-helper

usage

Grid Helper

import { GridHelper } from 'tubugl-helper';
 
// ----------------
// ----------------
 
let gridHelper = new GridHelper(gl, 1000, 1000, 20, 20);
 
// ----------------
// ----------------
 
gridHelper.render(camera);

Normal Helper

import { NormalHelper } from 'tubugl-helper';
 
// ----------------
// ----------------
 
let normalHelper = new NormalHelper(gl, roundingCube);
 
// ----------------
// ----------------
 
normalHelper.render(camera);

examples

https://kenjispecial.github.io/tubugl-helper/

example with grid helper

https://kenjispecial.github.io/tubugl-helper/app00/index.html

example with normal helper

https://kenjispecial.github.io/tubugl-helper/app01/index.html

Running the examples locally

you need to install parcel to run examples locally

install node modules locally

yarn
yarn run

TODO

referrecens

Readme

Keywords

none

Package Sidebar

Install

npm i tubugl-helper

Weekly Downloads

4

Version

1.2.0

License

MIT

Unpacked Size

1.1 MB

Total Files

38

Last publish

Collaborators

  • kenji-special