phys-collision 2.0.1-beta.0

Provides collision detection ability
// Copyright (C) 2020-2025 phys-collision authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

pub use batches::{Batches, ContactContext, ReductionId, ShapeBatches};

mod batches;
mod traits;
#[macro_use]
pub mod pairs;
pub use batches::{BatchesReductionContext, ConcaveManifold};
pub use cuboid_cuboid_tester_helper::{Candidates, ReduceContext};
pub use manifold_candidate_helper::{CandidateScalarsReducer, ManifoldCandidateScalarSmallVec};
pub use tootbird::IterContext;
pub use traits::{CollisionTask, TransformWide};
#[cfg(all(test, feature = "serde", feature = "unstable"))]
mod benches;
mod capsule_capsule_tester;
mod capsule_convex_hull_tester;
mod capsule_cuboid_tester;
mod capsule_cylinder_tester;
mod capsule_infinite_plane_tester;

mod common;
mod convex_collision_task;
mod convex_hull_infinite_plane_tester;
mod convex_hull_pair_tester;
mod cuboid_convex_hull_tester;
mod cuboid_cuboid_tester;
mod cuboid_cuboid_tester_helper;
mod cuboid_cylinder_tester;
mod cuboid_infinite_plane_tester;

mod cylinder_convex_hull_tester;
mod cylinder_cylinder_tester;
mod cylinder_infinite_plane_tester;
mod manifold_candidate_helper;
mod sphere_capsule_tester;
mod sphere_convex_hull_tester;
mod sphere_cuboid_tester;
mod sphere_cylinder_tester;
mod sphere_infinite_plane_tester;
mod sphere_sphere_tester;

mod capsule_triangle_tester;
mod cuboid_triangle_tester;
mod sphere_triangle_tester;
mod triangle_convex_hull_tester;
mod triangle_cylinder_tester;

#[cfg(all(test, feature = "serde"))]
pub(super) mod tests;

mod tootbird;

pub struct ShapeWideTester {}

pub struct ShapeTester {}