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

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

List of all members.

Public Member Functions

 Vector2 (float x, float y)
Vector2 clamp (Vector2 min, Vector2 max) const
float magnitude () const
float sqrMagnitude () const
Vector2 normalized () const
Vector2 operator* (float f) const

Public Attributes

float X
float Y

Detailed Description

Floating-point vector with 2 components.

Definition at line 98 of file sdl_mapper.cpp.


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