UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

20 lines 933 B
/** * Produces a numeric result to indicate which side of the plane the triangle is on * between +3 and -3, +3 means that all vertices ave above the plane, -3 means all vertices are below the plane, values in between indicate that plane cuts throught the triangle * @param {number} plane_normal_x * @param {number} plane_normal_y * @param {number} plane_normal_z * @param {number} plane_constant * @param {number} ax * @param {number} ay * @param {number} az * @param {number} bx * @param {number} by * @param {number} bz * @param {number} cx * @param {number} cy * @param {number} cz * @returns {number} */ export function computeTrianglePlaneSide(plane_normal_x: number, plane_normal_y: number, plane_normal_z: number, plane_constant: number, ax: number, ay: number, az: number, bx: number, by: number, bz: number, cx: number, cy: number, cz: number): number; //# sourceMappingURL=computeTrianglePlaneSide.d.ts.map