Module vec

Source
Expand description

§Vector types

Vector types are used to perform calculations. This has a similar purpose to XMVECTOR or XMMATRIX in the DirectXMath library.

It is not appropriate to use vector types to load or store data. If you want to load or store data, you should use a data type.

Using the scalar-math feature disables the use of SIMD instructions.

§Supports SIMD operations

  • aarch64 - Supports SIMD operations using neon.
  • x86, x86_64 - Supports SIMD operations using sse2.

Unions§

Matrix
This is a matrix data type that uses the SIMD instruction.
Quaternion
This is a quaternion data type that uses the SIMD instruction.
Vector
This is a vector data type that uses the SIMD instruction.
VectorInt
This is a vector data type that uses the SIMD instruction.