@laturge/three-mesh-processing

1.0.0 • Public • Published

Three.js mesh processing

Using

var data = {
    attributes:{
        POSITION: [-1,0,0,  -1,1,0, 1,0,0],
    },
    indices: [0,1,2]
};

var geometry = MP.Geometry.fromData(data);

MP.Octree.slice(geometry, 500, (geometry, position, level, id, isFinal)=>{
 ///...
});
``

Readme

Keywords

none

Package Sidebar

Install

npm i @laturge/three-mesh-processing

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ni55an