Docs.rs
mathx-1.1.0
mathx 1.1.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
paulcnova
Dependencies
serde ^1.0.217
normal
optional
Versions
73.33%
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
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Crate
mathx
mathx
1.1.0
All Items
Crate Items
Modules
Structs
Crates
mathx
Crate
mathx
Copy item path
Settings
Help
Summary
Source
Modules
§
collision
interfaces
Structs
§
Color
A structure for a color where each channel is a floating point value between 0.0 and 1.0
Math
A “static” structure used to compute math functions. Since
f32
gets a lot of it’s functions stripped away when using
no_std
, you can use this structure to regain those functions. It will also work the same even if you don’t use it for
no_std
.
Plane
A struct that represents a 3D plane
Quaternion
A 4D quaternion that holds 3 complex numbers and 1 real number structured as such: (a + b
i
+ c
j
+ d
k
)
Ray2
A 2D ray that holds an origin and direction both as 2D vectors
Ray3
A 3D ray that holds an origin and direction both as 3D vectors
Vector2
A 2D vector that holds an x-coordinate and y-coordinate
Vector3
A 3D vector that holds an x-coordinate, y-coordinate, and z-coordinate