Docs.rs
proof-engine-0.1.1
proof-engine 0.1.1
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
Mattbusel
Dependencies
ab_glyph ^0.2
normal
bytemuck ^1
normal
cpal ^0.15
normal
env_logger ^0.11
normal
glam ^0.25
normal
glow ^0.16
normal
glutin ^0.32
normal
glutin-winit ^0.5
normal
log ^0.4
normal
noise ^0.9
normal
raw-window-handle ^0.6
normal
rodio ^0.17
normal
serde ^1
normal
toml ^0.8
normal
winit ^0.30
normal
criterion ^0.5
dev
Versions
41.31%
of the crate is documented
Platform
i686-pc-windows-msvc
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
Skip to main content
Module toroidal
proof_
engine
0.1.1
Module toroidal
Module Items
Structs
Functions
In proof_
engine::
topology
proof_engine
::
topology
Module
toroidal
Copy item path
Source
Structs
§
Toroidal
Renderer
Handles rendering objects near toroidal boundaries by duplicating them.
Toroidal
Space
A 2D toroidal space where coordinates wrap around (pac-man style).
Functions
§
torus_
mesh
Generate a mesh of points on a torus surface.
torus_
normal
Normal vector at a point on the torus.
torus_
surface
Parametric surface of a torus embedded in 3D.
major_r
= distance from center of tube to center of torus
minor_r
= radius of the tube
u
= angle around the torus (0..2
PI)
v
= angle around the tube (0..2
PI)