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) 328 B
import{Collider as s}from"../Collider.js";class t extends s{constructor(s,t){const[i,e,o]=null!=t?t:r;super(s,[h,i,e,o]),this.hx=i,this.hy=e,this.hz=o}useCtx(s){return this._params=[h,this.hx,this.hy,this.hz],super.useCtx(s)}}const h="cuboid",r=[.5,.5,.5];export{t as CuboidCollider}; //# sourceMappingURL=CuboidCollider.js.map