Floating-point vector with 2 components. More...
#include <util_math.h>
Public Member Functions | |
| DOSBox_Vector2 (const float x, const float y) | |
| DOSBox_Vector2 | clamp (const DOSBox_Vector2 min, const DOSBox_Vector2 max) const |
| float | magnitude (void) const |
| float | sqrMagnitude (void) const |
| DOSBox_Vector2 | normalized (void) const |
| DOSBox_Vector2 | operator* (const float f) const |
Public Attributes | |
| float | X |
| float | Y |
Floating-point vector with 2 components.
Definition at line 9 of file util_math.h.
1.8.0