Module directx_math::conversion[][src]

Re-exports

pub use crate::XMConvertToDegrees;
pub use crate::XMConvertToRadians;

Functions

XMConvertFloatToHalf

Converts a single-precision floating-point value to a half-precision floating-point value.

XMConvertHalfToFloat

Converts a half-precision floating-point value to a single-precision floating-point value.

XMConvertVectorFloatToInt

Converts an XMVECTOR with float components to an XMVECTOR with int32_t components and applies a uniform bias.

XMConvertVectorFloatToUInt

Converts an XMVECTOR with uint32_t components to an XMVECTOR with float components and applies a uniform bias.

XMConvertVectorIntToFloat

Converts an XMVECTOR with int32_t components to an XMVECTOR with float components and applies a uniform bias.

XMConvertVectorUIntToFloat

Converts an XMVECTOR with uint32_t components to an XMVECTOR with float components and applies a uniform bias.