@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
23 lines • 907 B
TypeScript
/**
* Non-robust
*
* Return a positive value if the point pd lies below the
* plane passing through pa, pb, and pc; "below" is defined so
* that pa, pb, and pc appear in counterclockwise order when
* viewed from above the plane. Returns a negative value if
* pd lies above the plane. Returns zero if the points are
* coplanar. The result is also a rough approximation of six
* times the signed volume of the tetrahedron defined by the
* four points.
*
* NOTE: ported from http://www.cs.cmu.edu/afs/cs/project/quake/public/code/predicates.c
*
* @param {number[]} points
* @param {number} a index of point a
* @param {number} b index of point b
* @param {number} c index of point c
* @param {number} d index of point d
* @returns {number}
*/
export function orient3d_fast(points: number[], a: number, b: number, c: number, d: number): number;
//# sourceMappingURL=orient3d_fast.d.ts.map