three-subdivision-modifier

1.0.5 • Public • Published

three-subdivision-modifier

This is the Three.js subdivision modifier "extras" package found in the Three.js source (example).

It's loosely based on the three-orbit-controls package.

Usage:

var SubdivisionModifier = require('three-subdivision-modifier');
 
var modifier = new SubdivisionModifier( 2 ); // Number of subdivisions
 
modifier.modify( geometry ); // Modifies geometry in place

See the offical Three.js example for more information and usage.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i three-subdivision-modifier

      Weekly Downloads

      30

      Version

      1.0.5

      License

      MIT

      Last publish

      Collaborators

      • andrewray