Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Inc/DirectXMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,11 @@ namespace DirectX

constexpr XMFLOAT3(float _x, float _y, float _z) noexcept : x(_x), y(_y), z(_z) {}
explicit XMFLOAT3(_In_reads_(3) const float* pArray) noexcept : x(pArray[0]), y(pArray[1]), z(pArray[2]) {}

#if (__cplusplus >= 202002L)
bool operator == (const XMFLOAT3&) const = default;
auto operator <=> (const XMFLOAT3&) const = default;
#endif
};

// 3D Vector; 32 bit floating point components aligned on a 16 byte boundary
Expand Down
Loading