maplibre
0.1.0
Module math
Module Items
Structs
Functions
In maplibre::
util
maplibre
::
util
Module
math
Copy item path
Source
Structs
§
Aabb2
A two-dimensional AABB, aka a rectangle.
Aabb3
A three-dimensional AABB, aka a rectangular prism.
Float
Ord
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.
Plane
A 3-dimensional plane formed from the equation:
A*x + B*y + C*z - D = 0
.
Functions
§
bounds_
from_
points
div_
away
div_
ceil
div_
floor
max
🔒
min
🔒