Docs.rs
versor-0.1.0
versor 0.1.0
Permalink
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
chengluyu
Dependencies
Versions
93.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
versor
0.1.0
All Items
Crate Items
Structs
Functions
Type Aliases
Crate
versor
Copy item path
Source
Structs
§
Quaternion
Represents a quaternion.
Vec3
Represents a 3-dimensional vector.
Functions
§
cartesian
Returns Cartesian coordinates
[x, y, z]
given spherical coordinates
[λ, φ]
.
delta
Returns the quaternion to rotate between two cartesian points on the sphere. The value
alpha
, ranging from 0 to 1, is for tweening. See https://github.com/Fil/versor/issues/8 for more.
interpolate
Interpolate between two quaternions.
linear_
interpolate
Interpolate linearly between two quaternions.
Type Aliases
§
Interpolation
Fn
The type for interpolation functions.
Spherical
Coordinate
Represents a spherical coordinate.