Module math

Source
Expand description

Small math helpers used by XR input mapping.

These types are intentionally lightweight and local to the crate so the XR host can avoid adding a full vector math dependency.

Structs§

QuadHit
Single hit result for ray-vs-quad intersection.
RayQuad
Axis-aligned quad represented with local basis vectors.
Vec3
Three-dimensional single-precision vector used by the XR geometry helpers.

Functions§

uv_to_logical
Converts quad UV into top-left-origin logical UI coordinates.