C# Class FC3Editor.Nomad.Vec2

Exibir arquivo Open project: Azerothian/fc3editor Class Usage Examples

Public Properties

Property Type Description
X float
Y float
Zero Vec2

Public Methods

Method Description
Dot ( Vec2 v1, Vec2 v2 ) : float
Equals ( object obj ) : bool
GetHashCode ( ) : int
Normalize ( ) : float
Rotate90CCW ( ) : void
Rotate90CW ( ) : void
ToString ( ) : string
Vec2 ( float x, float y ) : System
operator ( ) : Vec2
operator ( ) : bool

Method Details

Dot() public static method

public static Dot ( Vec2 v1, Vec2 v2 ) : float
v1 Vec2
v2 Vec2
return float

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

Normalize() public method

public Normalize ( ) : float
return float

Rotate90CCW() public method

public Rotate90CCW ( ) : void
return void

Rotate90CW() public method

public Rotate90CW ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Vec2() public method

public Vec2 ( float x, float y ) : System
x float
y float
return System

operator() public static method

public static operator ( ) : Vec2
return Vec2

operator() public static method

public static operator ( ) : bool
return bool

Property Details

X public_oe property

public float X
return float

Y public_oe property

public float Y
return float

Zero public_oe static_oe property

public static Vec2,FC3Editor.Nomad Zero
return Vec2