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.

15 lines (14 loc) 415 B
import { IFeaturable } from "@vladkrutenyuk/three-kvy-core"; import { Collider } from "../Collider"; export declare class CylinderCollider extends Collider { /** * @default 0.5 */ halfHeight: number; /** * @default 0.5 */ radius: number; constructor(object: IFeaturable, props: [radius: number, halfHeight: number]); protected useCtx(ctx: typeof this.ctx): () => void; }