tubugl-utils

December 29, 2017 ยท View on GitHub

NPM version

usage

utils

generateWireframeIndices(indices);

return the index array of wireframe from index array of face

Math-utils

clamp(value, min, max) 

Clamps the value to be between min and max.

randomFloat( min, max) 

Clamps the value to be between min and max.

Referrences

https://threejs.org/docs/#api/math/Math

Contents

  1. 1utils
  2. 2Math-utils
  3. 3Referrences