1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-21 11:50:05 +00:00

Constexpr usage for SHMath

This commit is contained in:
Chuck Walbourn 2021-10-24 15:44:34 -07:00
parent efc0cf64df
commit 95f145cfe7

View File

@ -15,8 +15,8 @@
namespace DirectX
{
const size_t XM_SH_MINORDER = 2;
const size_t XM_SH_MAXORDER = 6;
constexpr size_t XM_SH_MINORDER = 2;
constexpr size_t XM_SH_MAXORDER = 6;
float* XM_CALLCONV XMSHEvalDirection(_Out_writes_(order*order) float *result, _In_ size_t order, _In_ FXMVECTOR dir) noexcept;