티스토리 뷰
Builds a left-handed perspective projection matrix vased on a field of view.
syntax
c++
D3DXMATRIX* D3DXMatrixPerspectiveFovLH(
_Inout_ D3DXMATRIX * pOut,
_In_ FLOAT fovy,
_In_ FLOAT Aspect,
_In_ FLOAT zn,
_In_ FLOAT zf );
Prarmeters
pOut - Pointer to the D3DXMATRIX structure that is the result of the operation.
fovy - Field of view in the y Direction, in radians.
Aspect - Aspect ratio, defined as view space width divided by height.
zn - Z-value of the near view-plane.
zf - Z-value of the far view-plane.
Return value
Pointer to a D3DMATRIX structure that is a left-handed perspective projection matrix.
Remarks
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXMatrixPerspectiveFovLH function can be used as a parameter for another function.
This function computes the returned matrix as shown
xScale 0 0 0 |
Reauirements
Header |
|
---|---|
Library |
|
cf) D3DXMatrixPerspectiveRH
D3DXMatrixPerspectiveRH
D3DXMatrixPerspectiveFovRH
D3DXMatrixPerspectiveOffCenterRH
D3DXMatrixPerspectiveOffCenterLH
'ComComComCom > DX .. D3D' 카테고리의 다른 글
[fucntion] Direct3DCreate9 (0) | 2017.06.12 |
---|---|
크라메르 법을 이용한 역행렬, 가우시안법을 이용한 역행렬 퍼포먼스 비교한 글 캡쳐 (0) | 2017.06.11 |
com객체 컴포넌트 오브젝트 모델 (0) | 2017.06.11 |
Direct3D (0) | 2017.06.09 |
[function] D3DXMatrixLookAtLH (0) | 2017.06.06 |