mirror of
https://github.com/microsoft/DirectXMath
synced 2024-11-09 14:10:09 +00:00
Suppress false 26495 warnings
This commit is contained in:
parent
15c05966ea
commit
033c653afc
@ -265,7 +265,7 @@ struct BoundingFrustum
|
||||
: Origin(_Origin), Orientation(_Orientation),
|
||||
RightSlope(_RightSlope), LeftSlope(_LeftSlope), TopSlope(_TopSlope), BottomSlope(_BottomSlope),
|
||||
Near(_Near), Far(_Far) {}
|
||||
BoundingFrustum( _In_ CXMMATRIX Projection ) { CreateFromMatrix( *this, Projection ); }
|
||||
BoundingFrustum( _In_ CXMMATRIX Projection );
|
||||
|
||||
// Methods
|
||||
void XM_CALLCONV Transform( _Out_ BoundingFrustum& Out, _In_ FXMMATRIX M ) const;
|
||||
@ -345,6 +345,7 @@ namespace TriangleTests
|
||||
#ifdef _PREFAST_
|
||||
#pragma prefast(push)
|
||||
#pragma prefast(disable : 25000, "FXMVECTOR is 16 bytes")
|
||||
#pragma prefast(disable : 26495, "Union initialization confuses /analyze")
|
||||
#endif
|
||||
|
||||
#include "DirectXCollision.inl"
|
||||
|
@ -2803,6 +2803,13 @@ inline void BoundingOrientedBox::CreateFromPoints( BoundingOrientedBox& Out, siz
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
_Use_decl_annotations_
|
||||
inline BoundingFrustum::BoundingFrustum( CXMMATRIX Projection )
|
||||
{
|
||||
CreateFromMatrix(*this, Projection);
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Transform a frustum by an angle preserving transform.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
@ -2017,6 +2017,7 @@ XMGLOBALCONST XMVECTORF32 g_UShortMax = { { { 65535.0f, 65535.0f,
|
||||
#ifdef _PREFAST_
|
||||
#pragma prefast(push)
|
||||
#pragma prefast(disable : 25000, "FXMVECTOR is 16 bytes")
|
||||
#pragma prefast(disable : 26495, "Union initialization confuses /analyze")
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
@ -1229,6 +1229,7 @@ void XM_DEPRECATED XM_CALLCONV XMStoreXDec4(_Out_ XMXDEC4* pDestination, _In_
|
||||
#ifdef _PREFAST_
|
||||
#pragma prefast(push)
|
||||
#pragma prefast(disable : 25000, "FXMVECTOR is 16 bytes")
|
||||
#pragma prefast(disable : 26495, "Union initialization confuses /analyze")
|
||||
#endif
|
||||
|
||||
#include "DirectXPackedVector.inl"
|
||||
|
Loading…
Reference in New Issue
Block a user