Skip to content

voxel/voxel-wireframe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

voxel-wireframe

Shows a wireframe around the voxels in voxel-engine-stackgl

screenshot

Usage

Load with voxel-plugins, options:

  • showWireframe: if true, wireframe will be shown initially (default false)

Press and the 'wireframe' keybinding (default 'F9') with the Shift key to toggle the wireframe interactively (without shift, F9 by default toggles voxel-chunkborder).

.showWireframe property can be set to manually show the wireframe, example:

var wirePlugin = game.plugins.get('voxel-wireframe');

wirePlugin.showWireframe = true;

License

Based on mikolalysenko/voxel-mipmap-demo (c) 2013 Mikola Lysenko. MIT License

MIT