Expand description
Vector, quaternion and matrix types.
Every type here is #[repr(C)] and Copy, laid out identically to its
C++ counterpart, so it crosses the FFI boundary with no conversion and
no allocation. Component-wise arithmetic, dot and length are plain
Rust; anything with subtler semantics (Hamilton product, slerp,
matrix inverse, the spline interpolators) calls into the C++
implementation so this binding cannot drift from the library.
Structs§
- Matrix33f
- Row-major, matching the C++
MatrixMethodsstorage order. - Matrix44f
- Row-major, matching the C++
MatrixMethodsstorage order. - Quaternion
- Vector2f
- Vector3f
- Vector4f
Functions§
- check_
abi - Verify that the linked native library matches the layouts this crate was generated against.
- cross
- transform_
normal - transform_
point