How to use the SimplifyModifier function from three

Find comprehensive JavaScript three.SimplifyModifier code examples handpicked from public code repositorys.

172
173
174
175
176
177
178
179
180
181
    {
        obj.geometry.vertices[i].add(v);
        obj.geometry.vertices[i].applyAxisAngle( axis, angle );
    }
    obj.geometry.verticesNeedUpdate = true;
    var modifer = new THREE.SimplifyModifier();
    obj.geometry = modifer.modify( obj.geometry ); 
}
for (var i=0;i<obj.children.length;i++) 
{
fork icon0
star icon0
watch icon1

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)