Expand description
This module contains abstract mathematical traits shared by types used in bevy_math
.
Structs§
- Sum
- A type consisting of formal sums of elements from
V
andW
. That is, each valueSum(v, w)
is thought of asv + w
, with no available simplification. In particular, ifV
andW
are vector spaces, thenSum<V, W>
is a vector space whose dimension is the sum of those ofV
andW
, and the field accessors.0
and.1
are vector space projections. - With
Derivative - A value with its derivative.
- With
TwoDerivatives - A value together with its first and second derivatives.
Traits§
- HasTangent
- A type that has tangents.
- Normed
Vector Space - 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: - Stable
Interpolate - A type with a natural interpolation that provides strong subdivision guarantees.
- Vector
Space - A type that supports the mathematical operations of a real vector space, irrespective of dimension. In particular, this means that the implementing type supports: