Module bevy::math::prelude

Expand description

The bevy_math prelude.

Structs

  • A spline interpolated continuously across the nearest four control points. The curve does not pass through any of the control points.
  • A 2-dimensional bool vector mask.
  • A 3-dimensional bool vector mask.
  • A 4-dimensional bool vector mask.
  • A spline composed of a series of cubic Bezier curves.
  • A spline interpolated continuously across the nearest four control points, with the position of the curve specified at every control point and the tangents computed automatically.
  • A segment of a cubic curve, used to hold precomputed coefficients for fast interpolation.
  • A spline interpolated continuously between the nearest two control points, with the position and velocity of the curve specified at both control points. This curve passes through all control points, with the specified velocity which includes direction and parametric speed.
  • A 2-dimensional vector.
  • A 3-dimensional vector.
  • A 4-dimensional vector.
  • A 2x2 column major matrix.
  • A 3x3 column major matrix.
  • A 4x4 column major matrix.
  • A quaternion representing an orientation.
  • A ray is an infinite line starting at origin, going in direction.
  • A rectangle defined by two opposite corners.
  • A 2-dimensional vector.
  • A 3-dimensional vector.
  • A 4-dimensional vector.
  • A 2-dimensional vector.
  • A 3-dimensional vector.
  • A 4-dimensional vector with SIMD support.

Enums

Traits

  • Implement this on cubic splines that can generate a curve from their spline parameters.