Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The windowsnumerics.h header file defines C++ vector and matrix types in the Windows.Foundation.Numerics namespace. It extends the structs from Windows.Foundation.Numerics with a range of mathematical operators and functions.
This namespace is available only in C++. Its .NET equivalent is System.Numerics.
In this section
Topic | Description |
---|---|
float2 structure | A vector with two components. |
float3 structure | A vector with three components. |
float3x2 structure | A 3x2 matrix, used for 2D transforms. |
float4 structure | A vector with four components. |
float4x4 structure | A 4x4 matrix, used for 3D transforms. |
plane structure | This structure represents a plane using a 3D vector normal and a distance value. |
quaternion structure | A four dimensional vector, used to represent a rotation. |
Windows numerics and DirectXMath interop APIs | These functions convert Windows.Foundation.Numerics types to and from the DirectXMath SIMD types XMVECTOR and XMMATRIX. |