logo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Integration of external crates and foreign types.
//!
//! This module provides implementations of traits in Plexus for foreign types.
//! Integrated crates are re-exported within a sub-module, which can be used to
//! avoid versioning conflicts.
//!
//! The documentation for items re-exported from integrated crates is hidden.
//!
//! # Examples
//!
//! Using the integrated version of [`nalgebra`] instead of a direct dependency:
//!
//! ```rust
//! use plexus::integration::nalgebra; // Import `nalgebra` from `plexus`.
//!
//! use ::nalgebra::Point2;
//! use plexus::buffer::MeshBuffer;
//! use plexus::index::Flat3;
//! use plexus::prelude::*;
//!
//! let buffer = MeshBuffer::<Flat3, Point2<f64>>::from_raw_buffers(
//!     0..3usize,
//!     vec![(0.0, 0.0), (1.0, 0.0), (1.0, 1.0)],
//! )
//! .unwrap();
//! ```
//!
//! [`nalgebra`]: https://crates.io/crates/nalgebra

pub mod decorum {
    #[doc(hidden)]
    pub use ::decorum::*;
}

pub mod theon {
    #[doc(hidden)]
    pub use ::theon::*;
}

// Feature modules. These are empty unless Cargo features are enabled.
pub mod cgmath;
pub mod glam;
pub mod mint;
pub mod nalgebra;
pub mod ultraviolet;