XMVectorNegate 함수(directxmath.h)
벡터의 부정을 계산합니다.
구문
XMVECTOR XM_CALLCONV XMVectorNegate(
[in] FXMVECTOR V
) noexcept;
매개 변수
[in] V
부정할 벡터입니다.
반환 값
벡터의 부정을 반환합니다.
설명
다음 의사 코드는 함수의 작업을 보여 줍니다.
XMVECTOR result;
result.x = -V.x;
result.y = -V.y;
result.z = -V.z;
result.w = -V.w;
return result;
플랫폼 요구 사항
Windows 8용 Windows SDK를 사용하는 Microsoft Visual Studio 2010 또는 Microsoft Visual Studio 2012. Win32 데스크톱 앱, Windows 스토어 앱 및 Windows Phone 8개 앱에서 지원됩니다.요구 사항
대상 플랫폼 | Windows |
헤더 | directxmath.h(DirectXMath.h 포함) |