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 capsule::{Capsule, CapsuleWide};
// pub use mesh::Mesh;
pub use chull_adapt::ConvexMesh;
pub use container::{
    ComplexShapeId as ConvexHullId, ComplexShapeId as MeshId, ComplexShapeId, ShapeContainer,
};
pub(crate) use convex_hull::BundleIndex;
pub use convex_hull::{
    ConvexHull, ConvexHullPointsIter, ConvexHullTriangleIndexIter, ConvexHullTriangleIter,
    ConvexHullWide, GENERAL_FACE_VERTICES_RESTRICTIONS,
};
pub use cuboid::{Cuboid, CuboidExt, CuboidWide};
pub use cylinder::{Cylinder, CylinderWide};
pub use infinite_plane::{InfinitePlane, InfinitePlaneWide};
// pub use quantized_bvh_mesh::QuantizedBvhMesh;
pub use shape::{Shape, ShapeRef};
pub use sphere::{Sphere, SphereWide};
pub use traits::{ComplexShapeTrait, ComputeVolume, ShapePlugin};
pub use triangle::{Triangle, TriangleWide};

mod capsule;
mod container;
mod convex_hull;
mod cuboid;
mod cylinder;
mod infinite_plane;
// mod mesh;
// mod quantized_bvh_mesh;
mod planer_cuboid;
mod shape;
mod sphere;
mod traits;
mod triangle;