UNPKG

@vladkrutenyuk/three-kvy-core

Version:

Everything you need to create any-complexity 3D apps with Three.js. Empower Three.js with a modular, lifecycle-managed context that seamlessly propagates through objects via reusable features providing structured logic.

3 lines (2 loc) 321 B
import{Collider as s}from"../Collider.js";class t extends s{constructor(s,t){const[i,h]=null!=t?t:e;super(s,[r,i,h]),this.radius=i,this.halfHeight=h}useCtx(s){return this._params=[r,this.radius,this.halfHeight],super.useCtx(s)}}const r="cone",e=[.5,.5];export{t as ConeCollider}; //# sourceMappingURL=ConeCollider.js.map