voxel-mirrorball

an addon to have mirrorball in voxel.js.

voxel-mirrorball

a mirror ball for voxel.js

npm install voxel-mirrorball
var mirrorBall  = require('voxel-mirrorball').create();

it will return a mesh. up to you to place it whereever you want

mirrorBall.addTo(world)

MIT

  • to install dev dependancy
npm install
  • to publish the package in npm repo - dont forget to bump version number
npm publish
  • to get a live server of the demo
npm start
  • to publish on gh-pages
  # go on gh-pages branch
  git checkout gh-pages
  
  # merge master branch
  git merge master
  
  # install all dependancies (if not already done)
  npm install
  
  # force to add them (they are in .gitignore)
  git add -f node_modules
  
  # push it to github
  git push 
  
  # come back on master branch
  git checkout master