Skip to content

The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.

363 B
Raw Blame
pub use self::mesh_intersection::{
    intersect_meshes, intersect_meshes_with_tolerances, MeshIntersectionTolerances,
};
pub use self::mesh_intersection_error::MeshIntersectionError;
use triangle_triangle_intersection::*;

use crate::math::Real;

mod mesh_intersection;
mod mesh_intersection_error;
mod triangle_triangle_intersection;

const EPS: Real = 1.0e-6;