#include <fxfixed.h>
Public Member Functions | |
| void BURGER_INLINE | Init (void) |
| Initialize the vector elements to zero,. | |
| void BURGER_INLINE | Set (Fixed32 fX, Fixed32 fY) |
| Initialize the vector elements to specific values,. | |
| void BURGER_INLINE | Zero (void) |
| Initialize the vector elements to zero,. | |
| Fixed32 BURGER_INLINE | GetX (void) const |
| Return the x component of the vector. | |
| Fixed32 BURGER_INLINE | GetY (void) const |
| Return the y component of the vector. | |
| void BURGER_INLINE | SetX (Fixed32 fX) |
| Set the x component of the vector. | |
| void BURGER_INLINE | SetY (Fixed32 fY) |
| Set the y component of the vector. | |
Public Attributes | |
| Fixed32 | x |
| X value for the 2D Vector. | |
| Fixed32 | y |
| Y value for the 2D Vector. | |
A 2D Fixed32 vector.
This 8 byte structure contains 2 32-bit Fixed point values as a 2D vector.
| Burger::FixedVector2D_t::GetX | ( | void | ) | const [inline] |
Return the x component of the vector.
| Burger::FixedVector2D_t::GetY | ( | void | ) | const [inline] |
Return the y component of the vector.
| Burger::FixedVector2D_t::Init | ( | void | ) | [inline] |
Initialize the vector elements to zero,.
Fills in all of the entries with zero, thereby initializing the structure to a known state.
Initialize the vector elements to specific values,.
Given the new values for x and y, store them into the structure.
| fX | The new x component to store in the vector. | |
| fY | The new y component to store in the vector. |
| Burger::FixedVector2D_t::SetX | ( | Fixed32 | fX | ) | [inline] |
Set the x component of the vector.
| fX | The new x component of the vector. |
| Burger::FixedVector2D_t::SetY | ( | Fixed32 | fY | ) | [inline] |
Set the y component of the vector.
| fY | The new y component of the vector. |
| Burger::FixedVector2D_t::Zero | ( | void | ) | [inline] |
Initialize the vector elements to zero,.
Fills in all of the entries with zero, thereby initializing the structure to a known state.
X value for the 2D Vector.
Y value for the 2D Vector.
1.7.1