[−][src]Module fart::prelude
The most common functionality re-exported.
Re-exports
pub use crate::path::LineCommand; |
pub use crate::path::Path; |
pub use crate::scene::Inches; |
pub use crate::scene::Scene; |
pub use crate::scene::SceneSpace; |
pub use crate::shape::Shape; |
pub use crate::shape::ShapeId; |
Structs
Aabb | An axis-aligned bounding box. |
Normal | The normal distribution |
Triangle | A plain triangle. |
Uniform | Sample values uniformly between two bounds. |
Traits
Distribution | Types (distributions) that can be used to create a random instance of |
Rng | An automatically-implemented extension trait on [ |
Functions
clamp | Clamp a value to within some range. |
map_range | Map a value from one range to another range. |
point2 | |
vec2 | Convenience constructor. |