bevy_math

Module common_traits

Source
Expand description

This module contains abstract mathematical traits shared by types used in bevy_math.

Traitsยง

  • A type that supports the operations of a normed vector space; i.e. a norm operation in addition to those of VectorSpace. Specifically, the implementor must guarantee that the following relationships hold, within the limitations of floating point arithmetic:
  • A type with a natural interpolation that provides strong subdivision guarantees.
  • A type that supports the mathematical operations of a real vector space, irrespective of dimension. In particular, this means that the implementing type supports: