Module crayon::math
[−]
[src]
This module contains the math utils that mainly comes from cgmath
and collision-rs
.
Re-exports
pub use cgmath::*; |
pub use self::plane::Plane; |
pub use self::plane::PlaneBound; |
pub use self::plane::PlaneRelation; |
pub use self::aabb::Aabb2; |
pub use self::aabb::Aabb3; |
pub use self::frustum::Frustum; |
pub use self::frustum::FrustumPoints; |
pub use self::frustum::Projection; |
pub use self::color::Color; |
Modules
aabb |
Axis-aligned bounding boxes |
color | |
frustum |
View frustum for visibility determination |
plane |
Macros
assert_relative_eq | |
assert_relative_ne | |
assert_ulps_eq | |
assert_ulps_ne | |
relative_eq |
Predicate for testing the approximate equality of two values. |
relative_ne |
Predicate for testing the approximate inequality of two values. |
ulps_eq |
Predicate for testing the approximate equality of two values using a maximum ULPs (Units in Last Place). |
ulps_ne |
Predicate for testing the approximate inequality of two values using a maximum ULPs (Units in Last Place). |