Module maplibre::util::math

source ·

Structs§

  • A two-dimensional AABB, aka a rectangle.
  • A three-dimensional AABB, aka a rectangular prism.
  • A wrapper type that enables ordering floats. This is a work around for the famous “rust float ordering” problem. By using it, you acknowledge that sorting NaN is undefined according to spec. This implementation treats NaN as the “smallest” float.
  • A 3-dimensional plane formed from the equation: A*x + B*y + C*z - D = 0.

Functions§