C# Class StdPaint.Quaternion

Represents a quaternion.
Mostra file Open project: TheBerkin/StdPaint

Public Properties

Property Type Description
W double
X double
Y double
Z double

Public Methods

Method Description
Quaternion ( double X, double Y, double Z, double W ) : System
Rotation ( Vector3 axis, double radians ) : Quaternion
operator ( ) : Quaternion

Method Details

Quaternion() public method

public Quaternion ( double X, double Y, double Z, double W ) : System
X double
Y double
Z double
W double
return System

Rotation() public static method

public static Rotation ( Vector3 axis, double radians ) : Quaternion
axis Vector3
radians double
return Quaternion

operator() public static method

public static operator ( ) : Quaternion
return Quaternion

Property Details

W public_oe property

public double W
return double

X public_oe property

public double X
return double

Y public_oe property

public double Y
return double

Z public_oe property

public double Z
return double