QMultQuatVector3Alt

From GECK
Jump to: navigation, search


A function added by the AnhNVSE Plugin.

Description

Multiplies a vector3 with a quaternion.

Syntax

[help]
(Quat:array) QMultQuatVector3Alt inQuat:array inVector3:array 

Example

array_var quat
array_var vector
array_var aResult

aResult = QMultQuatVector3Alt quat vector 

; aResult will be the product of quat and vector. ([qW, qX, qY, qZ])