alloy

Module math

source
Expand description

This module provides a grouping for all math operations and types.

Modules§

  • Module containing matrix definitions.
  • The simd crate provides basic wrapper around the builtin simd types in the Rust standard library.
  • Module containing Euclidean vector definitions.

Structs§

Traits§

  • A closed trait used to represent various angular units.
  • A closed trait used to enable conversions of Unit angle representations into Angle types.
  • A closed trait used to enable conversions of Angle types into Unit representation.
  • A closed trait used to provide trigonmetric functionalities to angular types.

Functions§

  • Interpolates between four values using a bilinear interpolation.
  • Interpolates between two values using a circular interpolation.
  • Interpolates between two values using a cosine interpolation.
  • Linearly interpolates between two values.
  • Quadratically interpolates between three values.
  • Interpolates between two values using a sine interpolation.
  • Interpolates between two values using a smoothstep interpolation.