Game Engine 2D Platformer
|
#include <TinyMath.hpp>
Public Member Functions | |
Vector2D ()=default | |
Vector2D (float a, float b) | |
float & | operator[] (int i) |
const float & | operator[] (int i) const |
Vector2D & | operator*= (float s) |
Vector2D & | operator/= (float s) |
Vector2D & | operator+= (const Vector2D &v) |
Vector2D & | operator-= (const Vector2D &v) |
Public Attributes | |
float | x |
float | y |
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
float Vector2D::x |
float Vector2D::y |