Docs.rs
proof-engine-0.1.1
proof-engine 0.1.1
Permalink
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 klein
proof_
engine
0.1.1
Module klein
Module Items
Structs
Functions
In proof_
engine::
topology
proof_engine
::
topology
Module
klein
Copy item path
Source
Structs
§
Klein
Bottle
A Klein bottle — a non-orientable closed surface with no boundary. Cannot be embedded in 3D without self-intersection.
Klein
Navigation
Handles movement on a Klein bottle where crossing the top/bottom boundary flips left and right.
Klein
Renderer
Renders the fundamental domain of a Klein bottle with flip indicators.
Functions
§
klein_
wrap
Wrap a position in a Klein bottle fundamental domain. Width axis wraps normally (like a torus). Height axis wraps with horizontal reflection (like a Klein bottle). Returns (wrapped_position, whether_orientation_is_flipped).
orientation_
at
Get the orientation sign at a given position in the Klein bottle domain. +1.0 for normal orientation, -1.0 for flipped.