DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Public Attributes
DOSBox_Vector2 Struct Reference

Floating-point vector with 2 components. More...

#include <util_math.h>

List of all members.

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

Detailed Description

Floating-point vector with 2 components.

Definition at line 9 of file util_math.h.


The documentation for this struct was generated from the following file: