Docs.rs
source_map_gen-0.1.0
source_map_gen 0.1.0
Permalink
Docs.rs crate page
Links
crates.io
Source
Owners
RedRam567
Dependencies
chrono ^0.4.24
normal
derive_ops ^0.1
normal
indextree ^4.5
normal
rand_chacha ^0.3
normal
rayon ^1
normal
optional
rgb ^0.8
normal
spa ^0.3
normal
vmf_parser_nom ^0.1
normal
walkdir ^2.3
normal
optional
approx ^0.5
dev
const_format ^0.2.30
dev
lazy_static ^1.4.0
dev
Versions
48.83%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
source_
map_
gen
0.1.0
Module shape
Module Items
Enums
Functions
In source_
map_
gen::
generation2
source_map_gen
::
generation2
Module
shape
Copy item path
Source
Enums
§
Grouping
How to split a shape into one or more solids.
Functions
§
cube
top, bottom, north, south, east, west
cylinder
A cylinder. two bases connected with planes. A simple wrapper around
prism()
.
mats
are the materials in the order: top, bottom, sides.
ellipse_
verts
prism
A prism, cylinder, cone, frustum (truncated cone). Can be oblique (slanted) and/or truncated (angled bases). Returns an iter of
Sides
in the order: top base (if available), bottom base (if available), sides.
sphere
A sphere with topology similar to a globe. Made of layers of frustums with caps of cones.
sphere_
disp
spike
A cone or spike with a base conected with triangles to a point. A simple wrapper around
prism()
.
wedge
west/top slope, bottom, north, south, east