Crate aline

Source
Expand description

A simple 2D linear algebra library suitable for no_std

§Features

  • std: (enabled by default) enable use of the standard library. It must be disabled for no_std crates.
  • libm: use libm as an alternative core math library. This is required for some methods (i.e. magnitude) to be available on no_std
  • serde: implementations of Serialize and Deserialize from serde
  • approx_v05: implementations of approx v0.5 traits

Structs§

Vector2
Vector type, generic over its scalar type T

Type Aliases§

IVec2
Alias for Vector<i32>
UVec2
Alias for Vector<usize>
Vec2
Alias for Vector<f32>