UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

19 lines 870 B
/** * 2,0,or -2; 2: above, -2 : below, 0 : intersects plane * NOTE: used an article by Bart Wronski https://bartwronski.com/2017/04/13/cull-that-cone/ * @param {number} plane_normal_x * @param {number} plane_normal_y * @param {number} plane_normal_z * @param {number} plane_constant * @param {number} originX * @param {number} originY * @param {number} originZ * @param {number} directionX * @param {number} directionY * @param {number} directionZ * @param {number} angle * @param {number} length * @returns {number} */ export function computeConePlaneSide(plane_normal_x: number, plane_normal_y: number, plane_normal_z: number, plane_constant: number, originX: number, originY: number, originZ: number, directionX: number, directionY: number, directionZ: number, angle: number, length: number): number; //# sourceMappingURL=computeConePlaneSide.d.ts.map