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.
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.
It’s never been easier to manage developer teams with varying permissions and multiple projects. Learn more about Private Packages and Organizations…
how? learn more