C# Class RekdEngine.UtilMath.Vector2f

Datei anzeigen Open project: Naronco/Rekd-Sharp Class Usage Examples

Public Properties

Property Type Description
X float

Public Methods

Method Description
Clear ( ) : Vector2f
Cross ( Vector2f v ) : float
Dot ( Vector2f v ) : float
Equals ( object obj ) : bool
GetDistance ( Vector2f other ) : float
GetDistance ( Vector2f A, Vector2f B ) : float
GetHashCode ( ) : int
GetLength ( ) : float
GetSquaredDistance ( Vector2f other ) : float
GetSquaredDistance ( Vector2f A, Vector2f B ) : float
GetSquaredLength ( ) : float
Normalize ( ) : Vector2f
Set ( Vector2f other ) : Vector2f
Set ( float X, float Y ) : Vector2f
SetZero ( ) : Vector2f
Vector2f ( Vector2f other ) : System
Vector2f ( float X, float Y ) : System
operator ( ) : Vector2f
operator ( ) : bool

Method Details

Clear() public method

public Clear ( ) : Vector2f
return Vector2f

Cross() public method

public Cross ( Vector2f v ) : float
v Vector2f
return float

Dot() public method

public Dot ( Vector2f v ) : float
v Vector2f
return float

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetDistance() public method

public GetDistance ( Vector2f other ) : float
other Vector2f
return float

GetDistance() public static method

public static GetDistance ( Vector2f A, Vector2f B ) : float
A Vector2f
B Vector2f
return float

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetLength() public method

public GetLength ( ) : float
return float

GetSquaredDistance() public method

public GetSquaredDistance ( Vector2f other ) : float
other Vector2f
return float

GetSquaredDistance() public static method

public static GetSquaredDistance ( Vector2f A, Vector2f B ) : float
A Vector2f
B Vector2f
return float

GetSquaredLength() public method

public GetSquaredLength ( ) : float
return float

Normalize() public method

public Normalize ( ) : Vector2f
return Vector2f

Set() public method

public Set ( Vector2f other ) : Vector2f
other Vector2f
return Vector2f

Set() public method

public Set ( float X, float Y ) : Vector2f
X float
Y float
return Vector2f

SetZero() public method

public SetZero ( ) : Vector2f
return Vector2f

Vector2f() public method

public Vector2f ( Vector2f other ) : System
other Vector2f
return System

Vector2f() public method

public Vector2f ( float X, float Y ) : System
X float
Y float
return System

operator() public static method

public static operator ( ) : Vector2f
return Vector2f

operator() public static method

public static operator ( ) : bool
return bool

Property Details

X public_oe property

public float X
return float