Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of XMUSHORTN2
from two uint16_t
arguments.
This constructor initializes a new instance of XMUSHORTN2 from two
uint16_t
arguments.
Syntax
void XMUSHORTN2(
uint16_t _x,
uint16_t _y
) noexcept;
Parameters
_x
Value of the x-coordinate of the vector, the x member of the new
XMUSHORTN2
instance.
_y
Value of the y-coordinate of the vector, the y member of the new
XMUSHORTN2
instance.
Return value
None
Remarks
Input values are not normalized. The following pseudocode demonstrates the operation of this constructor:
XMUSHORTN2 instance;
instance.x = _x;
instance.y = _y;
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | directxpackedvector.h |
See also
Reference