D3DXPlaneScale function
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Scale the plane with the given scaling factor.
Syntax
D3DXPLANE* D3DXPlaneScale(
_Inout_ D3DXPLANE *pOut,
_In_ const D3DXPLANE *pP,
_In_ FLOAT s
);
Parameters
-
pOut [in, out]
-
Type: D3DXPLANE*
Pointer to the D3DXPLANE structure that is the result of the operation.
-
pP [in]
-
Type: const D3DXPLANE*
Pointer to the source D3DXPLANE structure.
-
s [in]
-
Type: FLOAT
Scale factor.
Return value
Type: D3DXPLANE*
Pointer to a D3DXPLANE structure that represents the scaled plane.
Remarks
The return value for this function is the same value returned in the pOut parameter. Therefore, this function can be used as a parameter for another function.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also