Merge pull request #196 from mzgoddard/alpha-shape

Emulate silhouette rendering for pick and _getConvexHullPointsForDrawable
This commit is contained in:
Chris Willis-Ford
2017-11-20 13:29:39 -08:00
committed by GitHub
8 changed files with 418 additions and 87 deletions

View File

@@ -132,6 +132,15 @@ class Skin extends EventEmitter {
this._uniforms.u_skinSize = this.size;
return this._uniforms;
}
/**
* Does this point touch an opaque or translucent point on this skin?
* @param {twgl.v3} vec A texture coordinate.
* @return {boolean} Did it touch?
*/
isTouching () {
return false;
}
}
/**