ScummVM API documentation
Wintermute::Vector2 Class Reference

Public Member Functions

 Vector2 (float x, float y)
 
float length () const
 
Vector2operator= (const Vector2 &other)
 
Vector2 operator+ (const Vector2 &other) const
 
Vector2 operator- (const Vector2 &other) const
 
Vector2 operator* (const float scalar) const
 
Vector2operator+= (const Vector2 &other)
 

Public Attributes

float x
 
float y
 

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