1.0.0 • Published 7 years ago

decimator v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

Introduction

PlayCanvas Decimator that works on Mesh Instances either in the Editor or in the Engine.

Installation

npm install --save playcanvas-decimator

Usage

import decimate from 'playcanvas-decimator';

let mesh = decimate(numberOfFaces, mesh.meshInstances[0])

Face removal

Faces are removed based on curvature and the UV offset.