diff --git a/Stereo3D.md b/Stereo3D.md index 9e22b70..50288aa 100644 --- a/Stereo3D.md +++ b/Stereo3D.md @@ -4,16 +4,16 @@ This function filled out a default ``STEREO_PARAMETERS`` which you could then modify before passing on to the other functions. - void StereoCreateDefaultParameters(_Out_ STEREO_PARAMETERS* pStereoParameters); + void StereoCreateDefaultParameters(STEREO_PARAMETERS& pStereoParameters); 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, + XMMATRIX StereoProjectionFovLH(const STEREO_PARAMETERS* pStereoParameters, STEREO_CHANNEL Channel, float FovAngleY, float AspectRatio, float NearZ, float FarZ, STEREO_MODE StereoMode = STEREO_MODE_NORMAL); - XMMATRIX StereoProjectionFovRH(_In_opt_ const STEREO_PARAMETERS* pStereoParameters, + XMMATRIX StereoProjectionFovRH(const STEREO_PARAMETERS* pStereoParameters, STEREO_CHANNEL Channel, float FovAngleY, float AspectRatio, float NearZ, float FarZ, STEREO_MODE StereoMode = STEREO_MODE_NORMAL);