C# Class UpkManager.Dds.Compression.Vec3

Datei anzeigen Open project: stricq/UPKManager Class Usage Examples

Public Methods

Method Description
Dot ( Vec3 left, Vec3 right ) : float
LengthSquared ( Vec3 v ) : float
Max ( Vec3 left, Vec3 right ) : Vec3
Min ( Vec3 left, Vec3 right ) : Vec3
Truncate ( Vec3 v ) : Vec3
Vec3 ( Vec3 copy ) : System
Vec3 ( float S ) : System
Vec3 ( float X, float Y, float Z ) : System
operator ( ) : Vec3

Private Methods

Method Description
add ( Vec3 left, Vec3 right ) : Vec3
divide ( Vec3 left, float right ) : Vec3
multiply ( Vec3 left, Vec3 right ) : Vec3
multiply ( Vec3 left, float right ) : Vec3
subtract ( Vec3 left, Vec3 right ) : Vec3

Method Details

Dot() public static method

public static Dot ( Vec3 left, Vec3 right ) : float
left Vec3
right Vec3
return float

LengthSquared() public static method

public static LengthSquared ( Vec3 v ) : float
v Vec3
return float

Max() public static method

public static Max ( Vec3 left, Vec3 right ) : Vec3
left Vec3
right Vec3
return Vec3

Min() public static method

public static Min ( Vec3 left, Vec3 right ) : Vec3
left Vec3
right Vec3
return Vec3

Truncate() public static method

public static Truncate ( Vec3 v ) : Vec3
v Vec3
return Vec3

Vec3() public method

public Vec3 ( Vec3 copy ) : System
copy Vec3
return System

Vec3() public method

public Vec3 ( float S ) : System
S float
return System

Vec3() public method

public Vec3 ( float X, float Y, float Z ) : System
X float
Y float
Z float
return System

operator() public static method

public static operator ( ) : Vec3
return Vec3