Logo
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
SharpKmyMath::Vector2 Struct Reference

#include <Vector3.h>

Public Member Functions

 Vector2 (float v)
 
 Vector2 (float _x, float _y)
 

Static Public Member Functions

static Vector2 operator+ (Vector2 v, Vector2 v2)
 
static Vector2 operator- (Vector2 v, Vector2 v2)
 
static Vector2 operator/ (Vector2 v, float f)
 
static Vector2 operator* (Vector2 v, float f)
 
static Vector2 operator- (Vector2 v)
 

Public Attributes

float x
 
float y
 

Constructor & Destructor Documentation

◆ Vector2() [1/2]

SharpKmyMath::Vector2::Vector2 ( float  v)

◆ Vector2() [2/2]

SharpKmyMath::Vector2::Vector2 ( float  _x,
float  _y 
)

Member Function Documentation

◆ operator*()

static Vector2 SharpKmyMath::Vector2::operator* ( Vector2  v,
float  f 
)
static

◆ operator+()

static Vector2 SharpKmyMath::Vector2::operator+ ( Vector2  v,
Vector2  v2 
)
static

◆ operator-() [1/2]

static Vector2 SharpKmyMath::Vector2::operator- ( Vector2  v)
static

◆ operator-() [2/2]

static Vector2 SharpKmyMath::Vector2::operator- ( Vector2  v,
Vector2  v2 
)
static

◆ operator/()

static Vector2 SharpKmyMath::Vector2::operator/ ( Vector2  v,
float  f 
)
static

Member Data Documentation

◆ x

float SharpKmyMath::Vector2::x

◆ y

float SharpKmyMath::Vector2::y