Crates.io | collision |
lib.rs | collision |
version | 0.20.1 |
source | src |
created_at | 2015-02-08 20:28:12.622411 |
updated_at | 2019-04-04 17:05:54.729445 |
description | A collision extension to cgmath |
homepage | https://github.com/rustgd/collision-rs |
repository | https://github.com/rustgd/collision-rs |
max_upload_size | |
id | 1364 |
size | 391,488 |
This library is an extension of cgmath that provides collision detection primitives, bounding volumes and collision detection algorithms.
The library provides:
Ray
Plane
Frustum
Aabb2
, Aabb3
Obb2
, Obb3
Sphere
, Cylinder
Sphere
, Circle
, Rectangle
, Cuboid
, Particle
, Convex Polygon
, Convex Polyhedra
DBVT
)Brute Force
, Sweep and Prune
GJK
(including EPA
for manifold computation)GJK
GJK
Not all of the functionality has been implemented yet, and the existing code is not fully covered by the testsuite. If you encounter any mistakes or omissions please let us know by posting an issue, or even better: send us a pull request with a fix.
Licensed under either of
at your option.
Use CONTRIBUTING.md for futher information.
Pull requests are most welcome, especially in the realm of performance enhancements and fixing any mistakes. Unit tests and benchmarks are also required, so help on that front would be most appreciated.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.