SIQuaternion.SubInPlace

説明

クォータニオン q をこのクォータニオンから引き、結果をこのクォータニオンに格納します。

C#構文

SIQuaternion.SubInPlace( SIQuaternion in_pQuat );

スクリプト構文

SIQuaternion.SubInPlace( q );

パラメータ

パラメータ タイプ 説明
q SIQuaternion クォータニオンオペランド

VBScript の例

dim q1, q2

' Create Quaternions.

set q1 = XSIMath.CreateQuaternion(1.0, 1.0, 2.0, 3.0)

set q2 = XSIMath.CreateQuaternion(1.0, 4.0, 5.0, 6.0)

'q1 = q1 - q2

q1.SubInPlace q2

関連項目

SIQuaternion.Sub SIQuaternion.Add SIQuaternion.AddInPlace SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion