diff --git a/SHMath/DirectXSH.h b/SHMath/DirectXSH.h index 6c97c68..9f51835 100644 --- a/SHMath/DirectXSH.h +++ b/SHMath/DirectXSH.h @@ -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;