Crate bevy_math[][src]

Modules

bool vector mask types.

f32 vector, quaternion and matrix types.

f64 vector, quaternion and matrix types.

i32 vector types.

Traits adding swizzle methods to all vector types.

u32 vector types.

Macros

Creates a DMat2 from two column vectors that can be used to initialize a constant value.

Creates a DMat3 from three column vectors that can be used to initialize a constant value.

Creates a DMat4 from four column vectors that can be used to initialize a constant value.

Creates a DQuat from x, y, z and w values that can be used to initialize a constant value.

Creates a DVec2 that can be used to initialize a constant value.

Creates a DVec3 that can be used to initialize a constant value.

Creates a DVec4 that can be used to initialize a constant value.

Creates a IVec2 that can be used to initialize a constant value.

Creates a IVec3 that can be used to initialize a constant value.

Creates a IVec4 that can be used to initialize a constant value.

Creates a Mat2 from two column vectors that can be used to initialize a constant value.

Creates a Mat3 from three column vectors that can be used to initialize a constant value.

Creates a Mat3A from three column vectors that can be used to initialize a constant value.

Creates a Mat4 from four column vectors that can be used to initialize a constant value.

Creates a Quat from x, y, z and w values that can be used to initialize a constant value.

Creates a UVec2 that can be used to initialize a constant value.

Creates a UVec3 that can be used to initialize a constant value.

Creates a UVec4 that can be used to initialize a constant value.

Creates a Vec2 that can be used to initialize a constant value.

Creates a Vec3 that can be used to initialize a constant value.

Creates a Vec3A that can be used to initialize a constant value.

Creates a Vec4 that can be used to initialize a constant value.

Structs

A 2D affine transform, which can represent translation, rotation, scaling and shear.

A 3D affine transform, which can represent translation, rotation, scaling and shear.

A 2-dimensional boolean vector.

A 3-dimensional boolean vector.

A 3-dimensional SIMD vector mask.

A 4-dimensional boolean vector.

A 4-dimensional SIMD vector mask.

A 2D affine transform, which can represent translation, rotation, scaling and shear.

A 3D affine transform, which can represent translation, rotation, scaling and shear.

A 2x2 column major matrix.

A 3x3 column major matrix.

A 4x4 column major matrix.

A quaternion representing an orientation.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2x2 column major matrix.

A 3x3 column major matrix.

A 3x3 column major matrix.

A 4x4 column major matrix.

A quaternion representing an orientation.

A rect, as defined by its “side” locations

A two dimensional “size” as defined by a width and height

A 2-dimensional vector.

A 3-dimensional vector.

A 4-dimensional vector.

A 2-dimensional vector.

A 3-dimensional vector without SIMD support.

A 3-dimensional vector with SIMD support.

A 4-dimensional vector.

Enums

Euler rotation sequences.

Traits

Generates a translation / rotation matrix that faces a given target

Swizzle methods for 2-dimensional vector types.

Swizzle methods for 3-dimensional vector types.

Swizzle methods for 4-dimensional vector types.

Functions

Creates a 2x2 matrix from two column vectors.

Creates a 3x3 matrix from three column vectors.

Creates a 4x4 matrix from four column vectors.

Creates a quaternion from x, y, z and w values.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

Creates a 2x2 matrix from two column vectors.

Creates a 3x3 matrix from three column vectors.

Creates a 3x3 matrix from three column vectors.

Creates a 4x4 matrix from four column vectors.

Creates a quaternion from x, y, z and w values.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.

Creates a 2-dimensional vector.

Creates a 3-dimensional vector.

Creates a 3-dimensional vector.

Creates a 4-dimensional vector.