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

#include <Vector3.h>

Public Member Functions

 Vector4 (float v)
 
 Vector4 (float _x, float _y, float _z, float _w)
 
Vector3 getXYZ ()
 

Static Public Member Functions

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

Public Attributes

float x
 
float y
 
float z
 
float w
 

Constructor & Destructor Documentation

◆ Vector4() [1/2]

SharpKmyMath::Vector4::Vector4 ( float  v)

◆ Vector4() [2/2]

SharpKmyMath::Vector4::Vector4 ( float  _x,
float  _y,
float  _z,
float  _w 
)

Member Function Documentation

◆ getXYZ()

Vector3 SharpKmyMath::Vector4::getXYZ ( )

◆ operator*()

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

◆ operator+()

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

◆ operator-() [1/2]

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

◆ operator-() [2/2]

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

◆ operator/()

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

Member Data Documentation

◆ w

float SharpKmyMath::Vector4::w

◆ x

float SharpKmyMath::Vector4::x

◆ y

float SharpKmyMath::Vector4::y

◆ z

float SharpKmyMath::Vector4::z