1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-25 05:30:04 +00:00

Updated Stereo3D (markdown)

Chuck Walbourn 2017-07-13 01:37:20 -07:00
parent 9d707b1c60
commit dfac0bcbb9

@ -6,9 +6,12 @@ This function filled out a default ``STEREO_PARAMETERS`` which you could then mo
These functions compute the stereo projection matrices. You'd call it twice, once for ``STEREO_CHANNEL_LEFT`` and once for ``STEREO_CHANNEL_RIGHT`` to get two matrices. If you pass ``nullptr`` for the ``pStereoParameters`` parameter, you get the values obtained from ``StereoCreateDefaultParameters``. These functions compute the stereo projection matrices. You'd call it twice, once for ``STEREO_CHANNEL_LEFT`` and once for ``STEREO_CHANNEL_RIGHT`` to get two matrices. If you pass ``nullptr`` for the ``pStereoParameters`` parameter, you get the values obtained from ``StereoCreateDefaultParameters``.
XMMATRIX StereoProjectionFovLH(_In_opt_ const STEREO_PARAMETERS* pStereoParameters, STEREO_CHANNEL Channel, XMMATRIX StereoProjectionFovLH(_In_opt_ const STEREO_PARAMETERS* pStereoParameters,
float FovAngleY, float AspectRatio, float NearZ, float FarZ, STEREO_MODE StereoMode); STEREO_CHANNEL Channel, float FovAngleY, float AspectRatio,
float NearZ, float FarZ, STEREO_MODE StereoMode);
XMMATRIX StereoProjectionFovRH(_In_opt_ const STEREO_PARAMETERS* pStereoParameters,
STEREO_CHANNEL Channel, float FovAngleY, float AspectRatio,
float NearZ, float FarZ, STEREO_MODE StereoMode);
XMMATRIX StereoProjectionFovRH(_In_opt_ const STEREO_PARAMETERS* pStereoParameters, STEREO_CHANNEL Channel,
float FovAngleY, float AspectRatio, float NearZ, float FarZ, STEREO_MODE StereoMode);