Constexpr usage for SHMath
This commit is contained in:
Родитель
efc0cf64df
Коммит
95f145cfe7
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
namespace DirectX
|
namespace DirectX
|
||||||
{
|
{
|
||||||
const size_t XM_SH_MINORDER = 2;
|
constexpr size_t XM_SH_MINORDER = 2;
|
||||||
const size_t XM_SH_MAXORDER = 6;
|
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;
|
float* XM_CALLCONV XMSHEvalDirection(_Out_writes_(order*order) float *result, _In_ size_t order, _In_ FXMVECTOR dir) noexcept;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче