1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-24 21:20:13 +00:00

Updated Implementation (markdown)

Chuck Walbourn 2024-10-06 09:29:54 -07:00
parent 8ccef4263f
commit 5db7c0f148

@ -33,3 +33,6 @@ Avoid using Windows "portability" types except when dealing directly with Win32
As a low-level math library, DirectXMath does not make use of C++ exception handling or ``HRESULT`` COM-style error values. Generally, parameter validation is limited to ``assert`` macros.
# SAL annotation
The DirectXMath library makes extensive use of SAL2 annotations (``_In_``, ``_Outptr_opt_``, etc.) which greatly improves the accuracy of the Visual C++ static code analysis (also known as PREFAST). The standard Windows headers ``#define`` them all to empty strings if not building with ``/analyze``, so they have no effect on code-generation.