C# Class Nexus.Quaternion

ファイルを表示 Open project: tgjones/nexus Class Usage Examples

Public Properties

Property Type Description
Identity Quaternion
W float
X float
Y float
Z float

Public Methods

Method Description
CreateFromAxisAngle ( Vector3D axis, float angle ) : Quaternion
CreateFromRotationMatrix ( Matrix3D matrix ) : Quaternion
CreateFromYawPitchRoll ( float yaw, float pitch, float roll ) : Quaternion
IsNan ( Quaternion q ) : bool
Normalize ( ) : void
Quaternion ( Vector3D axis, float angle ) : System
Quaternion ( float x, float y, float z, float w ) : System
operator ( ) : Quaternion
operator ( ) : bool

Method Details

CreateFromAxisAngle() public static method

public static CreateFromAxisAngle ( Vector3D axis, float angle ) : Quaternion
axis Vector3D
angle float
return Quaternion

CreateFromRotationMatrix() public static method

public static CreateFromRotationMatrix ( Matrix3D matrix ) : Quaternion
matrix Matrix3D
return Quaternion

CreateFromYawPitchRoll() public static method

public static CreateFromYawPitchRoll ( float yaw, float pitch, float roll ) : Quaternion
yaw float
pitch float
roll float
return Quaternion

IsNan() public static method

public static IsNan ( Quaternion q ) : bool
q Quaternion
return bool

Normalize() public method

public Normalize ( ) : void
return void

Quaternion() public method

public Quaternion ( Vector3D axis, float angle ) : System
axis Vector3D
angle float
return System

Quaternion() public method

public Quaternion ( float x, float y, float z, float w ) : System
x float
y float
z float
w float
return System

operator() public static method

public static operator ( ) : Quaternion
return Quaternion

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Identity public_oe static_oe property

public static Quaternion,Nexus Identity
return Quaternion

W public_oe property

public float W
return float

X public_oe property

public float X
return float

Y public_oe property

public float Y
return float

Z public_oe property

public float Z
return float